Skip to content
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 index.routing.allocation.total_primary_shards_per_node and cluster.routing.allocation.total_primary_shards_per_node #9301

Open
3 tasks
pandeydivyansh1803 opened this issue Feb 24, 2025 · 0 comments

Comments

@pandeydivyansh1803
Copy link

What do you want to do?

  • Request a change to existing documentation
  • ✅ Add new documentation
  • Report a technical problem with the documentation
  • Other

Tell us about your request. Adding documentation for two important OpenSearch routing allocation settings specifically designed for remote-store enabled clusters. These settings control primary shard distribution across nodes and help prevent uneven primary shard allocation:

index.routing.allocation.total_primary_shards_per_node: Index-level setting that limits the number of primary shards per node for a specific index
cluster.routing.allocation.total_primary_shards_per_node: Cluster-level setting that sets a global limit on primary shards per node
This documentation will help users:

->Better understand primary shard allocation controls
->Implement more balanced shard distribution strategies
->Prevent node overload from excessive primary shard allocation
->Configure these settings at both index and cluster levels
->The documentation will include setting descriptions, usage examples, and best practices for primary shard allocation management.

Version: OpenSearch version 3.0.0

What other resources are available? opensearch-project/OpenSearch#17293

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant