Skip to content
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

Merged
merged 4 commits into from
Feb 14, 2020

Conversation

ywelsch
Copy link
Contributor

@ywelsch ywelsch commented Feb 12, 2020

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 the fixed threadpool, however, the queue_size automatically adjusts according to calculations based on
Little's Law. This dynamic adjustment was, by default, disabled for the two fixed_auto_queue_size thread pools (search and search_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.

@ywelsch ywelsch added >breaking :Core/Infra/Core Core issues without another label v8.0.0 labels Feb 12, 2020
@ywelsch ywelsch requested a review from dakrone February 12, 2020 17:58
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (:Core/Infra/Core)

Copy link
Member

@dakrone dakrone left a 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.

@ywelsch ywelsch requested a review from dakrone February 13, 2020 10:16
@ywelsch
Copy link
Contributor Author

ywelsch commented Feb 13, 2020

@elasticmachine run elasticsearch-ci/packaging-sample-matrix-windows

Copy link
Member

@dakrone dakrone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks Yannick

@ywelsch ywelsch merged commit a9afdd7 into elastic:master Feb 14, 2020
ywelsch added a commit that referenced this pull request Feb 14, 2020
ywelsch added a commit that referenced this pull request Feb 20, 2020
masseyke added a commit that referenced this pull request Sep 2, 2021
…settings (#76995)

The fixed_auto_queue_size threadpool has been removed in 8.0. This commit checks for configuration that is
specific to that threadpool type and issues a deprecation info API message about it.
Relates #42404 #52280
rjernst added a commit to rjernst/elasticsearch that referenced this pull request Oct 4, 2021
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
elasticsearchmachine pushed a commit that referenced this pull request Oct 4, 2021
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>breaking :Core/Infra/Core Core issues without another label v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants