Skip to content

Commit

Permalink
Update 12.2.4 zk集群下server工作状态.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pyinx committed Jul 17, 2019
1 parent 5b4ee4f commit 56f9216
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions 12.2.4 zk集群下server工作状态.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@

#### **参考答案**

每个Server在工作过程中有三种状态
每个Server在工作过程中有四种状态

LOOKING:当前Server不知道leader是谁,正在搜寻

LEADING:当前Server即为选举出来的leader
LEADING:当前server角色为leader

FOLLOWING:leader已经选举出来,当前Server与之同步
FOLLOWING:当前server角色为follower

OBSERVING:当前server角色为observer

0 comments on commit 56f9216

Please sign in to comment.