-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
131621: raft: update lastUpdateTimes based on store liveness support r=iskettaneh a=iskettaneh This commit updates the lastUpdateTimes map for all followers that provide store liveness support. Store liveness support indicates that the follower is alive. This is done on top of the normal update when the leader receives any message from the follower. This is important because in leader leases, followers might not receive/send any Raft messages if they don't need to. Therefore, we need an extra signal to determine if the follower is alive or not. Epic: None Release note: None Co-authored-by: Ibrahim Kettaneh <[email protected]>
- Loading branch information
Showing
3 changed files
with
123 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters