-
Notifications
You must be signed in to change notification settings - Fork 484
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
[DOC] Add documentation for primary shard based balancing #2663
Comments
@dreamer-89: Is this issue on the roadmap for 2.6? |
Hi @Naarcha-AWS, thanks for the comment. I am working with @anasalkouz to get opensearch-project/OpenSearch#5240 added to 2.6.0 roadmap |
No PR yet but on track |
@dreamer-89 @anasalkouz Could you confirm that this is still going into 2.6? |
Hi @kolchfa-aws, Thanks for checking on this. This actual feature change is under development and tracked in opensearch-project/OpenSearch#6210.
CC @anasalkouz @mch2 |
@dreamer-89 does keep the code will break any functionality for either users who is using SegRep or for users who don't use SegRep? |
@anasalkouz : No the change is isolated. It doesn't break any functionality for both SegRep and DocRep. Thus, it wouldn't impact. I think this should be reverted because once setting is exposed, removing it again is not a great idea even if it is marked experimental. Not exposing it altogether is better when it is identified that it may be removed later. |
@kolchfa-aws: Thanks for the heads up on this issue. We were able to timely remove the changes from going into Revert PR opensearch-project/OpenSearch#6444. Keeping this issue open for documentation for new setting introduced with opensearch-project/OpenSearch#6210. |
Thank you, @dreamer-89 |
cluster.routing.allocation.balance.primary
setting documentation
What do you want to do?
Tell us about your request. Provide a summary of the request and all versions that are affected.
Coming from opensearch-project/OpenSearch#5240 and opensearch-project/OpenSearch#6210, a new dynamic boolean type setting
cluster.routing.allocation.balance.prefer_primary
was introduced that defines if primary shards based balancing is desired i.e. whether primary shards should be distributed equally among your cluster nodes. Enabling this setting does not always guarantee equal number of primary shards on each node. This balance can't be hold specially post failover (node left/removed) which results in one node having more number of primary while other node contains the replica copy. In this situation, SameShardAllocationDecider prevents the shard relocations. This limitation can be addressed in future work as part of opensearch-project/OpenSearch#6642 and opensearch-project/OpenSearch#6481Note: Please note this setting is intended only for segment replication feature which is still experimental.
What other resources are available? Provide links to related issues, POCs, steps for testing, etc.
opensearch-project/OpenSearch#5240
opensearch-project/OpenSearch#6210
The text was updated successfully, but these errors were encountered: