-
Notifications
You must be signed in to change notification settings - Fork 25.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Skip sending ShardActiveRequest checks in stateless nodes #121387
Skip sending ShardActiveRequest checks in stateless nodes #121387
Conversation
Stateless node rely on an external blob store to persist data, therefor it's not necessary to go through such checks when a shard store should be deleted. Closes ES-10577
Pinging @elastic/es-distributed-indexing (Team:Distributed Indexing) |
|
||
private void deleteShardStoreOnApplierThread(ShardId shardId, long clusterStateVersion) { | ||
clusterService.getClusterApplierService() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it wouldn't be necessary to run this on the applier thread, but I wanted to keep the changes minimal.
@elasticmachine update branch |
@elasticmachine update branch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Stateless node rely on an external blob store to persist data, therefor it's not necessary to go through such checks when a shard store should be deleted.
Closes ES-10577