Error Message "maximum shards open" Is Displayed When I Create an Index
Symptom
When I create an index, an error message is displayed: "this action would add [2] total shards, but this cluster currently has [1000]/[1000] maximum shards open".
Possible Cause
By default, each node can support up to 1000 shards. An error is reported if you keep allocating new shards to a node, making the number of shards reach the upper limit.
Solution
- Disable or delete unused indexes to reduce the number of shards.
- Change the maximum number of shards allowed on a node.
PUT _cluster/settings { "persistent": { "cluster": { "max_shards_per_node": 2000 } } }
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot