Skip to content

server,kvcoord: change x-locality log from vevent to vinfo#111442

Merged
craig[bot] merged 2 commits intocockroachdb:masterfrom
kvoli:230928.mute-x-region-tracing
Sep 29, 2023
Merged

server,kvcoord: change x-locality log from vevent to vinfo#111442
craig[bot] merged 2 commits intocockroachdb:masterfrom
kvoli:230928.mute-x-region-tracing

Conversation

@kvoli
Copy link
Copy Markdown
Contributor

@kvoli kvoli commented Sep 28, 2023

The X-locality log events were added in #104585 to the Node batch
receive path, to alert when localities were misconfigured. In some
clusters, especially test clusters, these events are unnecessarily
verbose in traces.

Change the log from VEvent(5) to VInfo(5) in the node batch path.

The X-locality log events were added in #103963 for the dist sender, to
alert when localities were misconfigured. In some clusters, especially
test clusters, these events are unnecessarily verbose in traces.

Change the log from VEvent(5) to VInfo(5) in the dist sender path.

Resolves: #110648
Epic: none
Release note: None

@blathers-crl
Copy link
Copy Markdown

blathers-crl bot commented Sep 28, 2023

It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR?

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@kvoli kvoli force-pushed the 230928.mute-x-region-tracing branch from 7ee11d3 to 770d171 Compare September 28, 2023 19:40
@kvoli kvoli self-assigned this Sep 28, 2023
@kvoli kvoli force-pushed the 230928.mute-x-region-tracing branch 2 times, most recently from 20bc25f to e3365c2 Compare September 29, 2023 13:59
@kvoli kvoli marked this pull request as ready for review September 29, 2023 16:31
@kvoli kvoli requested review from a team as code owners September 29, 2023 16:31
@kvoli kvoli requested a review from arulajmani September 29, 2023 16:31
Copy link
Copy Markdown
Collaborator

@arulajmani arulajmani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Thanks for doing this!

Reviewed 1 of 1 files at r1, 1 of 1 files at r2, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @kvoli)

The X-locality log events were added in cockroachdb#104585 to the Node batch
receive path, to alert when localities were misconfigured. In some
clusters, especially test clusters, these events are unnecessarily
verbose in traces.

Change the log from `VEvent(5)` to `VInfo(5)` in the node batch path.

Part of: cockroachdb#110648
Epic: none
Release note: None
The X-locality log events were added in cockroachdb#103963 for the dist sender, to
alert when localities were misconfigured. In some clusters, especially
test clusters, these events are unnecessarily verbose in traces.

Change the log from `VEvent(5)` to `VInfo(5)` in the dist sender path.

Resolves: cockroachdb#110648
Epic: none
Release note: None
@kvoli kvoli force-pushed the 230928.mute-x-region-tracing branch from e3365c2 to 3412f90 Compare September 29, 2023 16:58
@kvoli
Copy link
Copy Markdown
Contributor Author

kvoli commented Sep 29, 2023

Rebased on master.

@kvoli
Copy link
Copy Markdown
Contributor Author

kvoli commented Sep 29, 2023

Failure on extended is unrelated and tracked in #111492. TYFTR!

bors r=arulajmani

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Sep 29, 2023

Build succeeded:

@craig craig bot merged commit beb87b4 into cockroachdb:master Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

kvserver: stop printing locality-mismatch error in traces

3 participants