Skip to content

Make Index Settings Update CS Task Cheaper #79883

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

original-brownbear
Copy link
Contributor

No need to rebuild the routing table (and thus nodes) unless the
replica count changed.
Also, less important, don't use a new blocks object if nothing changed
about the blocks.

relates #77466

No need to rebuild the routing table (and thus nodes) unless the
replica count changed.
Also, less important, don't use a new blocks object if nothing changed
about the blocks.
@original-brownbear original-brownbear added >non-issue :Distributed Coordination/Cluster Coordination Cluster formation and cluster state publication, including cluster membership and fault detection. v8.0.0 labels Oct 27, 2021
@elasticmachine elasticmachine added the Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. label Oct 27, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

@original-brownbear
Copy link
Contributor Author

Jenkins run elasticsearch-ci/packaging-tests-unix-sample

Copy link
Contributor

@henningandersen henningandersen left a comment

Choose a reason for hiding this comment

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

LGTM.

Perhaps add a test that the routing table stays the same for some settings update?

@original-brownbear
Copy link
Contributor Author

Perhaps add a test that the routing table stays the same for some settings update?

Can't really do a nice test here (yet). There's still #79860 and then a follow-up to that between us and not rebuilding the routing table needlessly here. I'll add a clean assertion + test into the follow-up after #79860 :) (incoming today probably)

@original-brownbear
Copy link
Contributor Author

Thanks Henning!

@original-brownbear original-brownbear merged commit 39309d4 into elastic:master Oct 27, 2021
@original-brownbear original-brownbear deleted the do-not-rebuild-routing-table-redundantly branch October 27, 2021 07:29
@original-brownbear original-brownbear restored the do-not-rebuild-routing-table-redundantly branch April 18, 2023 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed Coordination/Cluster Coordination Cluster formation and cluster state publication, including cluster membership and fault detection. >non-issue Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. v8.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants