forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
changefeedccl: rework max behind nanos metric
Previously, this node-level metric would measure the maximum time between the present and the oldest checkpoint seen by a change aggregator. Since this metric was updated by in-memory checkpoints, it was prone to odd behavior. For example: - When a node restarts and a changefeed immediately begins a catchup scan, there are no checkpoints for this changefeed available to calculate the value of this metric. It's possible that an "inifinite" catchup scan could trigger where the metric would never get updated ( had the description "Largest commit-to-emit duration of any running feed", Informs: cockroachdb#97931 Closes: cockroachdb#97043 Closes: cockroachdb#99409 <what was there before: Previously, ...> <why it needed to change: This was inadequate because ...> <what you did about it: To address this, this patch ...>
- Loading branch information
1 parent
a5d61d2
commit aa38da7
Showing
4 changed files
with
46 additions
and
51 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