-
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
Remove search throttled index setting and thread pool #124519
Remove search throttled index setting and thread pool #124519
Conversation
Pinging @elastic/es-search-foundations (Team:Search Foundations) |
@@ -184,12 +183,4 @@ protected ShardIterator shards(ProjectState state, InternalRequest request) { | |||
return clusterService.operationRouting() | |||
.getShards(state, request.concreteIndex(), request.request().id(), request.request().routing(), request.request().preference()); | |||
} | |||
|
|||
@Override | |||
protected Executor getExecutor(ExplainRequest request, ShardId shardId) { |
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.
The request
is not used in the parent class or subclasses.
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.
interesting catch, yes, that may mean we can refactor this further perhaps and remove the request argument, not too sure why it's there in the first place.
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! Thank you @javanna, that was easy to follow, thank you. I've added a minor comment
💔 Backport failed
You can use sqren/backport to manually backport by running |
Frozen indices, the freeze index API and the private index.frozen setting have been removed with #120539.
There is also a search throttled thread pool that can now be removed, as well as a private
search.throttled
index settings that is no longer used as it could only be set internally by freezing an index.While the index setting is private and can be removed, as it should no longer be present in any index on 9.0+ indices, the thread pool settings associated to the removed pool are still accepted as no-op in case users have customized them and are upgrading without removing these. These will also trigger a deprecating warning.
This change also removes the
search.throttled
related output from the thread pool section of the cluster info API.