Skip to content

tracing: fix WithEventListeners option with verbose parent#98896

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
yuzefovich:fix-span-option
Mar 21, 2023
Merged

tracing: fix WithEventListeners option with verbose parent#98896
craig[bot] merged 1 commit intocockroachdb:masterfrom
yuzefovich:fix-span-option

Conversation

@yuzefovich
Copy link
Copy Markdown
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 a team, adityamaru and andreimatei March 17, 2023 21:17
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@yuzefovich
Copy link
Copy Markdown
Member Author

TFTR!

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Mar 21, 2023

Build failed (retrying...):

@craig
Copy link
Copy Markdown
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