-
Notifications
You must be signed in to change notification settings - Fork 24.8k
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 fixed_auto_queue_size threadpool type #52280
Conversation
Pinging @elastic/es-core-infra (:Core/Infra/Core) |
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.
This removes too much, we still need a lot of the infrastructure from QueueResizingEsThreadPoolExecutor
to gather the metrics required for adaptive replica selection.
server/src/main/java/org/elasticsearch/search/query/QueryPhase.java
Outdated
Show resolved
Hide resolved
@elasticmachine run elasticsearch-ci/packaging-sample-matrix-windows |
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, thanks Yannick
This test broke after merging #52280.
The min and max queue resizing tests sometimes fail due to timing issues. Since the queue resizing is already removed for 8.0 (elastic#52280), there is less incentive to debug the flakiness. Given there are some other tests of queue resizing, and the feature is already removed in upcoming versions of ES, this commit removes the flaky tests. closes elastic#71476
The min and max queue resizing tests sometimes fail due to timing issues. Since the queue resizing is already removed for 8.0 (#52280), there is less incentive to debug the flakiness. Given there are some other tests of queue resizing, and the feature is already removed in upcoming versions of ES, this commit removes the flaky tests. closes #71476
The
fixed_auto_queue_size
thread pool holds a fixed size of threads to handle the requests with a bounded queue for pending requests that have no threads to service them. It's similar to thefixed
threadpool, however, thequeue_size
automatically adjusts according to calculations based onLittle's Law. This dynamic adjustment was, by default, disabled for the two
fixed_auto_queue_size
thread pools (search
andsearch_throttled
).As this feature was marked as experimental, and we are unaware of any users explicitly configuring this, we intent to deprecate it in ES 7 and remove it in ES 8.