How to get discovery.zen.minimum_master_nodes setting


(Thomas) #1

Hi.

I know one can set the discovery.zen.minimum_master_node within the config file and by using the cluster update settings API.
But how to get the current setting?
What if one start a node with minimum_master_node = 1 and another node with minimum_master_node = 2?

Thanks.


(Mark Walkom) #2

GET /_cluster/settings if you have set it via the API.

It'll take the setting from the current master node.


(system) #3