# Functions
MinMasterNodes calculates the minium number of master nodes needed to ensure that the cluster does not get into a split-brain state.
UpdateDiscoveryMinMasterNodes sets the 'discovery.zen.minimum_master_nodes' setting in elasticsearch to the given minimum of master nodes.