Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tracing: fix WithEventListeners option with verbose parent #98896

Merged
merged 1 commit into from
Mar 21, 2023

Conversation

yuzefovich
Copy link
Member

@yuzefovich yuzefovich commented Mar 17, 2023

Previously, when using WithEventListeners span option and not explicitly specifying WithRecording option, we could incorrectly use the structured recording. In particular, this was the case when the parent has verbose recording, and this is now fixed. At the moment, this span option is used only by the backup and restore processors, so the impact would be that their verbose recording wouldn't be included into the session recording (perhaps we don't actually expose that anyway).

Epic: None

Release note: None

Previously, when using `WithEventListeners` span option and not
explicitly specifying `WithRecording` option, we could incorrectly use
the structured recording. In particular, this was the case when the
parent has verbose recording, and this is now fixed. At the moment, this
span option is used only by the backup and restore processors, so the
impact would be that their verbose recording wouldn't be included into
the session recording (perhaps we don't actually expose that anyway).

Release note: None
@yuzefovich yuzefovich requested review from andreimatei, adityamaru and a team March 17, 2023 21:17
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@yuzefovich
Copy link
Member Author

TFTR!

bors r+

@craig
Copy link
Contributor

craig bot commented Mar 21, 2023

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Mar 21, 2023

Build succeeded:

@craig craig bot merged commit 18e6641 into cockroachdb:master Mar 21, 2023
@yuzefovich yuzefovich deleted the fix-span-option branch March 21, 2023 19:44
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.

3 participants