Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MinMasterNodes ¶
MinMasterNodes calculates the minium number of master nodes needed to ensure that the cluster does not get into a split-brain state. https://www.elastic.co/guide/en/elasticsearch/reference/current/discovery-settings.html
func UpdateDiscoveryMinMasterNodes ¶
UpdateDiscoveryMinMasterNodes sets the 'discovery.zen.minimum_master_nodes' setting in elasticsearch to the given minimum of master nodes. https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-update-settings.html
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.