You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A follower stores the ID of the latest log that has been synchronized by
the leader, represented as `(LeaderId, Option<LogId>)`.
This information is only kept in memory and is not taken into account
when processing vote requests or determining the commit condition.
The reason for storing this information is to allow followers to commit
only those logs that have been replicated by their current leader.
- Fix: datafuselabs#747
Let a follower stores the last log id that is synchronized by the leader.
(LeaderId, Option<LogId>)
;This field is only stored in memory, the condition to commit does not change, and it is not considered when handling vote-request.
Why
When a leader replicates
committed
log id to a follower, the follower can only commit logs that are replicated by this leader.The text was updated successfully, but these errors were encountered: