Max_shards_per_node best practice

By default the cluster.max_shards_per_node is 1000.
I would like to increase the value.
Any impact to the system. How to determine the best value of cluster.max_shards_per_node?

In my opinion the default limit of 1000 is already quite high, so I would recommend not changing it. Instead look at how you are sharding your data and ensure you are not creating an unnecessary large number of small shards.

I think the docs for this setting answer your question:

IMPORTANT: These limits are intended as a safety net to protect against runaway shard creation and are not a sizing recommendation. The exact number of shards your cluster can safely support depends on your hardware configuration and workload, and may be smaller than the default limits.

We do not recommend increasing these limits beyond the defaults. Clusters with more shards may appear to run well in normal operation, but may take a very long time to recover from temporary disruptions such as a network partition or an unexpected node restart, and may encounter problems when performing maintenance activities such as a rolling restart or upgrade.

1 Like

If I set the number to 2000. It is possible to set back to 1000.