Open mastilver opened 7 years ago
From: http://sysdig.com/blog/monitor-etcd/
Node status can be one of: Follower, Candidate (briefly), Leader If a Follower cannot locate the current Leader, it will become Candidate The voting system will elect a new Leader amongst the Candidates Registry value updates (commits) always go through the Leader Once the Leader has received the ack from the majority of Followers the new value is considered “committed” The cluster will survive as long as most of the nodes remain alive
The api should be similar to https://github.com/pierreinglebert/redis-leader