our (the leader's) term
our (the leader's) id
the index this commit is for.
the last known (or assumed) index as we know it. If the receiver replies w/ a non-success response, this index is decremented and retried
the term of the log index
the entry to append ... which are only non-empty if a previous AppendEntries request came back successfully
the index this commit is for.
the entry to append ...
the entry to append ... which are only non-empty if a previous AppendEntries request came back successfully
our (the leader's) id
the last known (or assumed) index as we know it.
the last known (or assumed) index as we know it. If the receiver replies w/ a non-success response, this index is decremented and retried
the term of the log index
our (the leader's) term
The first request sent should be commitIndex: 0 prevIndex : 0 prevTerm : 0
(to which the initial response would be) matchIndex: 1 // the most recent uncommitted index
The next request would be:
commmitIndex : 1 prevIndex : 1 // the recipient's match index prevTerm : 2 // the first term which has a leader
our (the leader's) term
our (the leader's) id
the index this commit is for.
the last known (or assumed) index as we know it. If the receiver replies w/ a non-success response, this index is decremented and retried
the term of the log index
the entry to append ... which are only non-empty if a previous AppendEntries request came back successfully