Skip to content

[8.7] Simulate shard moves using cluster_concurrent_rebalance=2 (#93977) #94082

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

Conversation

idegtiarenko
Copy link
Contributor

Backports the following commits to 8.7:

)

BalancedShardAllocator is prone to perform unnecessary moves when
cluster_concurrent_rebalance is set to high values (>2).
(See elastic#87279)
Above allocator is used in DesiredBalanceComputer. Since we do not move actual
shard data during calculation it is possible to artificially set above setting
to 2 to avoid unnecessary moves in desired balance.
@idegtiarenko idegtiarenko added :Distributed Coordination/Allocation All issues relating to the decision making around placing a shard (both master logic & on the nodes) >enhancement auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. labels Feb 23, 2023
@idegtiarenko idegtiarenko removed the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Feb 23, 2023
@idegtiarenko idegtiarenko added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Mar 1, 2023
@idegtiarenko
Copy link
Contributor Author

@elasticmachine update branch

@elasticsearchmachine elasticsearchmachine merged commit 883b8b8 into elastic:8.7 Mar 1, 2023
@idegtiarenko idegtiarenko deleted the backport/8.7/pr-93977 branch March 1, 2023 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport :Distributed Coordination/Allocation All issues relating to the decision making around placing a shard (both master logic & on the nodes) >enhancement Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. v8.7.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants