-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add monitoring of the servers time drifting (#44489)
* Add monitoring of the servers time drifting * Refactor monitor to use inventory stream * Add command for inventory control stream for time reconciliation * Reuse ping/pong logic for time reconciliation * Add integration test to check if global notification is created * Limits notification length, renaming * Return system clock instead of time difference Add parallel requests to ping the nodes Fix issue with locking inventory store while making ping request * Refactor to make time reconciliation part of the inventory control stream * Fix tests * Rewrite tests Return inventory store iterator * Naming adjustments * Fix test * Drop timeReconciliation in order to use direct handler functions * Make time reconciliation with variable duration * Replace with duration type in proto Add test cleanup for possible goroutine leak Add comment about half request duration * Format notification message * Add UpstreamInventoryPong.SystemClock check
- Loading branch information
Showing
13 changed files
with
4,398 additions
and
3,501 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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.