1
0
Fork 0

Update AUTO_CLUSTERING.md

master
Philip O'Toole 3 years ago committed by GitHub
parent 9a89b42a16
commit b8aa3b4480
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -76,4 +76,4 @@ For both Consul and etcd, `-disco-confg` can either be an actual JSON string, or
If you wish a single Consul or etcd system to support multiple rqlite clusters, then set the `-disco-key` command line argument to a different value for each cluster.
### Design
When using either Consul or Ectd for automatic clustering, rqlite uses the key-value store of each system. In each case the Leader atomically sets its HTTP URL, allowing other nodes to discover it. To prevent multiple nodes updating the Leader key at once, nodes uses a check-and-set operation, only updating the Leader key if it's value has not changed since it was last read by the node.
When using either Consul or etcd for automatic clustering, rqlite uses the key-value store of each system. In each case the Leader atomically sets its HTTP URL, allowing other nodes to discover it. To prevent multiple nodes updating the Leader key at once, nodes uses a check-and-set operation, only updating the Leader key if it's value has not changed since it was last read by the node.

Loading…
Cancel
Save