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.
kv: reduce verbose logging on cross-locality metrics
As part of cockroachdb#103983, metrics were added to track when requests cross region or zone boundaries, however verbose logging was added to the necessary locality comparisons. Whenever a cluster does not have locality tiers defined - as is the default on new clusters, as well as in tests - an error would be generated, and this error would be logged (with a full stack trace) at the same level as the transport debugging information, on every request. This change reduces that verbosity and removes the unnecessary stack trace from being printed on these locally generated and handled errors. Epic: none Release note: None
- Loading branch information
Showing
3 changed files
with
11 additions
and
11 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