more pictures
This commit is contained in:
@ -144,13 +144,36 @@ Disconnect Sequence:
|
|||||||
|
|
||||||
{% highlight %}
|
{% highlight %}
|
||||||
|
|
||||||
RemoveServerRequest ------->
|
Follower Alice Leader Charlie
|
||||||
|
|
||||||
|
RemoveServerRequest ------->
|
||||||
<--------- RemoveServerResponse
|
<--------- RemoveServerResponse
|
||||||
<--------- LeaveClusterRequest
|
<--------- LeaveClusterRequest
|
||||||
LeaveClusterResponse ------->
|
LeaveClusterResponse ------->
|
||||||
|
|
||||||
{% endhighlight %}
|
{% 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
|
Definitions
|
||||||
-----------
|
-----------
|
||||||
|
Reference in New Issue
Block a user