-
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.
63999: kvserver: add a concept of suspect nodes to the allocator r=lunevalex a=lunevalex Touches #57093 A flaky node that goes in and out of liveness can cause lease thrashing, as live nodes steal leases from the failing node and then when it heartbeats the allocator puts them back to maintain mean counts. This could be very disruptive to the cluster as the leases ping-pong back and forth. To prevent this problem we introduce a new concept of a suspect node to the allocator. When a node fails to hearbeat liveness it's considered suspect until it can reliably heartbeat liveness for an extended period of time (60s by default). Release note: None Co-authored-by: Alex Lunev <[email protected]>
- Loading branch information
Showing
12 changed files
with
684 additions
and
112 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
Oops, something went wrong.