Skip to content

Remove the listener thread pool #53314

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

Merged
merged 1 commit into from
Mar 9, 2020

Conversation

jasontedor
Copy link
Member

This commit completes the work to remove the listener thread pool, having removed all uses of it in the server codebase, and deprecated it in 7.x. With this commit, we also remove the infrastructgure to deprecate a fixed thread pool, which was added as part of this work, since it is easy to bring back if needed.

Closes #53049

This commit completes the work to remove the listener thread pool,
having removed all uses of it in the server codebase, and deprecated it
in 7.x. With this commit, we also remove the infrastructgure to
deprecate a fixed thread pool, which was added as part of this work,
since it is easy to bring back if needed.
@jasontedor jasontedor added >breaking :Core/Infra/Core Core issues without another label v8.0.0 labels Mar 9, 2020
@elasticmachine
Copy link
Collaborator

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

Copy link
Contributor

@original-brownbear original-brownbear left a comment

Choose a reason for hiding this comment

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

LGTM 🎉

s -> Integer.toString(size),
s -> Setting.parseInt(s, 1, applyHardSizeLimit(settings, name), sizeKey),
properties);
new Setting<>(
Copy link
Contributor

Choose a reason for hiding this comment

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

NIT: is the indent change intended here?

Copy link
Member Author

Choose a reason for hiding this comment

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

So, to deprecate the listener thread pool, I added some temporary infrastructure in this class (see #53266) which changed the indentation here because of my IDE having different settings than when I authored this code a long time ago. 🤷‍♀

Since after removing this setting this infrastructure isn't needed anymore, I simply reverted the file back to its initial state before #53266, including the original formatting.

Long live automatic code formatting!

@jasontedor jasontedor merged commit db974cf into elastic:master Mar 9, 2020
@jasontedor jasontedor deleted the remove-listener-thread-pool branch March 9, 2020 22:45
DaveCTurner added a commit to DaveCTurner/elasticsearch that referenced this pull request Jan 14, 2021
In elastic#53314 we removed the listener threadpool but left in place a
now-mysterious comment about its configuration. This commit removes the
orphaned comment.
DaveCTurner added a commit that referenced this pull request Jan 14, 2021
In #53314 we removed the listener threadpool but left in place a
now-mysterious comment about its configuration. This commit removes the
orphaned comment.
jrodewig added a commit that referenced this pull request Sep 22, 2021
Changes:
* Removes docs for the `listener` thread pool
* Adds an 8.0 breaking change for the thread pool removal

Relates to #53314 and #53049
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.

Should we remove the listener thread pool?
4 participants