more pictures
This commit is contained in:
@ -144,13 +144,36 @@ Disconnect Sequence:
|
||||
|
||||
{% highlight %}
|
||||
|
||||
RemoveServerRequest ------->
|
||||
Follower Alice Leader Charlie
|
||||
|
||||
RemoveServerRequest ------->
|
||||
<--------- RemoveServerResponse
|
||||
<--------- LeaveClusterRequest
|
||||
LeaveClusterResponse ------->
|
||||
|
||||
{% endhighlight %}
|
||||
|
||||
Election Sequence:
|
||||
|
||||
.. raw:: html
|
||||
|
||||
{% highlight %}
|
||||
|
||||
Candidate Alice Candidate/Follower Bob
|
||||
|
||||
RequestVoteRequest ------->
|
||||
<--------- RequestVoteResponse
|
||||
|
||||
if Alice wins election:
|
||||
|
||||
Leader Alice Follower Bob
|
||||
|
||||
AppendEntriesRequest ------->
|
||||
(heartbeat)
|
||||
<--------- AppendEntriesResponse
|
||||
|
||||
{% endhighlight %}
|
||||
|
||||
|
||||
Definitions
|
||||
-----------
|
||||
|
Reference in New Issue
Block a user