-
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.
stability: implement node liveness; first step towards new range leases
This change adds a node liveness table as a global system table. Nodes periodically write updates to their liveness record by doing a conditional put to the liveness table. The leader of the range containing the node liveness table gossips the latest information to the rest of the system. Each node has a `NodeLiveness` object which can be used to query the status of any other node to find out if it's live or non-live according to the liveness threshold duration compared to the last time it successfully heartbeat its liveness record. The as-yet-unused `IncrementEpoch` mechanism is also added in this PR, for eventual use with the planned epoch-based range leader leases. Updated the range leader lease RFC to reflect current thinking.
- Loading branch information
1 parent
e959b97
commit 1f36e2f
Showing
38 changed files
with
1,796 additions
and
263 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
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
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
Oops, something went wrong.