Updated Failover Master Server (markdown)

Barry Yu 2019-01-10 10:08:18 +08:00
parent 057f3c8b94
commit 6e0689511a

@ -19,7 +19,7 @@ weed server -master.port=9335 -dir=./3 -volume.port=8082 \
## How it works
The master servers are coordinated by Raft protocol, to elect a leader. The leader takes over all the work to manage volumes, assign file ids. All other master servers just simply forward requests to the leader.
The master servers are coordinated by Raft protocol, to select a leader. The leader takes over all the work to manage volumes, assign file ids. All other master servers just simply forward requests to the leader.
If the leader dies, another leader will be elected. And all the volume servers will send their heartbeat together with their volumes information to the new leader. The new leader will take the full responsibility.