Skip to content

ShardActiveResponseHandler shouldn't hold to an entire cluster state #21470

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

Conversation

imotov
Copy link
Contributor

@imotov imotov commented Nov 10, 2016

ShardActiveResponseHandler doesn't need to hold to ab entire cluster state since it only needs to know the cluster state version. It seems that on overloaded systems where nodes are unresponsive holding onto a lot of different cluster states can make the situation worse.

Closes #21394

Not sure how far back should we go in propagating this fix.

Copy link
Member

@jasontedor jasontedor left a comment

Choose a reason for hiding this comment

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

Nice, LGTM.

@bleskes
Copy link
Contributor

bleskes commented Nov 10, 2016

LGTM2. good catch

@clintongormley
Copy link
Contributor

@imotov Back to 2.4.2 i'd say

ShardActiveResponseHandler doesn't need to hold to an entire cluster state since it only needs to know the cluster state version. It seems that on overloaded systems where nodes are unresponsive holding onto a lot of different cluster states can make the situation worse.

Closes elastic#21394
@imotov imotov force-pushed the issue-21394-large-footprint-of-shard-active-response-handlers branch from cb30849 to 06a50fa Compare November 11, 2016 03:32
@imotov imotov merged commit 06a50fa into elastic:master Nov 11, 2016
@imotov imotov added v5.0.1 and removed v5.0.2 labels Nov 11, 2016
@njustyq
Copy link

njustyq commented Dec 17, 2019

@imotov @bleskes @clintongormley @jasontedor I have a similar problems, would you please check it out for me?
#50241

@imotov imotov deleted the issue-21394-large-footprint-of-shard-active-response-handlers branch May 1, 2020 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug report]lots of memory consumption in clientHandlers
5 participants