-
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.
24606: cherrypick-2.0: util/hlc: option to panic on clock jumps r=bdarnell a=vijaykarthik-rubrik A cluster setting is added to panic on clock jumps. The existing safeguard in forward clock jumps is in periodic inter-node heartbeats, so there is a window where anomalies could occur. This change adds forward jump checks to HLC (and a background goroutine to keep lastPhysicalTime up to date). Cherrypicks #23717 Release note (general change): Added cluster settings for HLC to panic on clock jumps Co-authored-by: Vijay Karthik <[email protected]>
- Loading branch information
Showing
3 changed files
with
315 additions
and
1 deletion.
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