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
we are experiencing an issue on our 7.14 clusters that after setting cluster.max_shards_per_node manually the collector failed to unmarshal it.
cluster_settings.go:160 msg="failed to fetch and decode cluster settings stats" err="json: cannot unmarshal object into Go struct field Cluster.defaults.cluster.max_shards_per_node of type string"
The version we are using is 1.2.1, yet the code responsible for this part didn't seem to be changed between 1.2.1 and 1.3.0.
After some investigation we found that
Without cluster.max_shards_per_node being set manually, the response json from /_cluster/settings?include_defaults would be like
Rectified the issue by putting _cluster/settings -d '{"persistent":{"cluster.max_shards_per_node.frozen": "3000"}}' (or the value you desire as we don't use frozen nodes). After that the strange setting "max_shards_per_node": {"frozen": "3000"} has disappeared from the default section (has gone to the persistent section) and the merge library is able to do its work properly.
P.s. hasn't found a proper solution yet, quite strange to observe such a weird behavior from elastic search API, though :)
Hi,
we are experiencing an issue on our 7.14 clusters that after setting cluster.max_shards_per_node manually the collector failed to unmarshal it.
The version we are using is 1.2.1, yet the code responsible for this part didn't seem to be changed between 1.2.1 and 1.3.0.
After some investigation we found that
This seems to be the reason for this error.
Any ideas?
The text was updated successfully, but these errors were encountered: