-
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.
87159: kvserver: log replicate queue processing errors via KvDistribution channel r=AlexTalks a=AlexTalks While we introduced logging of replicate queue processing errors, as well as the collected traces, in #86007, we also introduced a new logging channel `KvDistribution` in #85688. This changes the log channel of those errors to the new `KvDistribution` channel, and also modifies the output to only log the traces if verbosity for the module is >=1. Release justification: Low risk observability change. Release note: None 87256: roachtest: loq_recovery fix incorrect error handling r=aliher1911 a=aliher1911 Previously, if attempt to set snapshot rates failed, then whole test fails. It is not correct as we report any unhealthy outcomes as histogram value and succeed the test. Release justification: roachtest fix Release note: None Fixes #85721 87283: allocator: increase log verbosity r=lidorcarmel a=lidorcarmel Now that we log distribution logs to a separate log file (#85688), we can enable more logging by default (without setting vmodule). This PR enables most log messages in the store rebalancer, and some in the replicate queue. The rational is that the store rebalancer iterates over 128 replicas every minute and therefore we can allow logging per replica. We roughly expect: 200 bytes per log message x 128 x 10 messages = 250K per minute, or 15MB per hour. The replicate queue tries to avoid per replica logging (e.g in functions such as shouldEnqueue), instead it will log when an action such as adding a replica is executed. In a roachtest, running drain and decommission when adding a new node we see only a few MBs per hour in the kv-distribution log file. Release justification: low risk, will help debugging. Release note: None 87286: rowexec: make sure to close generator builtin with error in Start r=yuzefovich a=yuzefovich Previously, if an error is returned by `Start` method of the generator builtin, we would never close it which could lead to leaking of resources. This is now fixed. Fixes: #87248. Release justification: bug fix. Release note: None Co-authored-by: Alex Sarkesian <[email protected]> Co-authored-by: Oleg Afanasyev <[email protected]> Co-authored-by: Lidor Carmel <[email protected]> Co-authored-by: Yahor Yuzefovich <[email protected]>
- Loading branch information
Showing
6 changed files
with
61 additions
and
63 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
Oops, something went wrong.