Skip to content

Instantly share code, notes, and snippets.

@Fullstop000
Created November 15, 2019 10:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Fullstop000/8e9d0e5b11463244bb42b63a91449cfa to your computer and use it in GitHub Desktop.
Save Fullstop000/8e9d0e5b11463244bb42b63a91449cfa to your computer and use it in GitHub Desktop.
             +----------+
             |          |
             |    C     |
             |          |
             +----^-+---+
                  | |
                  | |
 MsgAppend(e[4,5])| | MsgAppendResp
                  | |
                  | |
                  | |
                  | |       MsgAppend(e[2,5])
             +----+-v---+                     +----------+
             |          +--------------------->          |
             |  leader  |                     |    B     |
             |          +<--------------------+          |
             +----+-^---+                     +----------+
                  | |        MsgAppendResp
                  | |
                  | |
 MsgAppend(e[3,5])| | MsgAppendResp
                  | |
                  | |
                  | |
                  | |
             +----v-+----+
             |           |
             |     D     |
             |           |
             +-----------+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment