You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our product, at first, user set cluster.max_shards_per_node to 500_000_000 to avoid shard unassigned. after days later, the nodes of the cluster are extended from 10 to 15. and the new created shard can't be unassigned because of the error:
"Validation Failed: 1: this action would add [2] total shards, but this cluster currently has [30101]/[-1089934592] maximum shards open;"
The cluster have 15 node, when calculating maxShardsInCluster, an int overflow occurred.
If the user don't extend the cluster from 10 to 15, an int overflow will not occur.
If we should limit the upper of cluster.max_shards_per_node, such as 5000_000, it can't be reached in the current es struct. I'm pleasure to fix it.
Related component
Cluster Manager
Additional Details
Host/Environment (please complete the following information):
OS2.9
The text was updated successfully, but these errors were encountered:
Describe the bug
In our product, at first, user set cluster.max_shards_per_node to 500_000_000 to avoid shard unassigned. after days later, the nodes of the cluster are extended from 10 to 15. and the new created shard can't be unassigned because of the error:
The cluster have 15 node, when calculating maxShardsInCluster, an int overflow occurred.
If the user don't extend the cluster from 10 to 15, an int overflow will not occur.
If we should limit the upper of cluster.max_shards_per_node, such as 5000_000, it can't be reached in the current es struct. I'm pleasure to fix it.
Related component
Cluster Manager
Additional Details
Host/Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: