forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
112342: changefeedccl: add observabilty to row fetcher rows r=jayshrivastava a=jayshrivastava ### sql/row: add util.EveryN arg to row fetcher for TraceKV This change adds a `util.EveryN` parameter to the `row.Fetcher` called `TraceKVEveryN`. When KV tracing is enabled, the row fetcher will print ALL KVs that it sees. This will could result in millions of rows being logged in certain cases. This change adds an `EveryN` to limit the log frequency. `util.EveryN` is used instead of `log.EveryN` because `log.EveryN` is a noop when verbosity is 2 or above. The row fetcher uses verbosity level 2 to log KVs. Release note: None Epic: None ### changefeedccl: add observabilty to row fetcher rows This change adds some flags which can be enabled to make row fetchers log the KVs they are fetching. The setting `changefeed.cdcevent.trace_kv` is passed down to the row fetcher to enable logging. The setting `changefeed.cdcevent.trace_kv.log_frequency` is added as well to limit the rate of logging. Release note: None Epic: None 112890: roachtest: admission-control/intent-resolution assert on 20 sublevels r=sumeerbhola a=aadityasondhi This patch addresses a lingering TODO to start asserting on 20 sublevels since cockroachdb#109932 has been merged. Release note: None 112958: kvserver: disable allocator checks with `COCKROACH_DISABLE_LEADER_FOLLOWS_LEASEHOLDER` r=erikgrinaker a=erikgrinaker Otherwise, the replicate queue may be unable to relocate leaseholder replicas. This can cause e.g. `failover/partial/lease-leader` to flake. Resolves cockroachdb#112241. Epic: none Release note: None Co-authored-by: Jayant Shrivastava <[email protected]> Co-authored-by: Aaditya Sondhi <[email protected]> Co-authored-by: Erik Grinaker <[email protected]>
- Loading branch information
Showing
9 changed files
with
65 additions
and
18 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
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