|
@@ -108,12 +108,18 @@ considered failed. Defaults to `3`.
|
|
|
The master node is the only node in a cluster that can make changes to the
|
|
|
cluster state. The master node processes one cluster state update at a time,
|
|
|
applies the required changes and publishes the updated cluster state to all
|
|
|
-the other nodes in the cluster. Each node receives the publish message,
|
|
|
-updates its own cluster state and replies to the master node, which waits for
|
|
|
-all nodes to respond, up to a timeout, before going ahead processing the next
|
|
|
-updates in the queue. The `discovery.zen.publish_timeout` is set by default
|
|
|
-to 30 seconds and can be changed dynamically through the
|
|
|
-<<cluster-update-settings,cluster update settings api>>
|
|
|
+the other nodes in the cluster. Each node receives the publish message, acknowledges
|
|
|
+it but do *not* yet apply it. If the master does not receive acknowledgement from
|
|
|
+at least `discovery.zen.minimum_master_nodes` nodes within a certain time (controlled by
|
|
|
+the `discovery.zen.commit_timeout` setting and defaults to 30 seconds) the cluster state
|
|
|
+change is rejected.
|
|
|
+
|
|
|
+Once enough nodes have responded, the cluster state is committed and a message will
|
|
|
+be sent to all the nodes. The nodes then proceed and apply the new cluster state to their
|
|
|
+internal state. The master node waits for all nodes to respond, up to a timeout, before
|
|
|
+going ahead processing the next updates in the queue. The `discovery.zen.publish_timeout` is
|
|
|
+set by default to 30 seconds and is measured from the moment the publishing started. Both
|
|
|
+timeout settings can be changed dynamically through the <<cluster-update-settings,cluster update settings api>>
|
|
|
|
|
|
[float]
|
|
|
[[no-master-block]]
|