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

backfill: finish the tracing span after closing the account #120350

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

yuzefovich
Copy link
Member

We recently fixed an issue where we forgot to stop the index backfill merger monitor, but we had a minor bug in that fix - we captured the context that contains the tracing span that is finished before the account is closed leading to "use after finish" assertions. This is now fixed.

Fixes: #120266.

Release note: None

We recently fixed an issue where we forgot to stop the index backfill
merger monitor, but we had a minor bug in that fix - we captured the
context that contains the tracing span that is finished before the
account is closed leading to "use after finish" assertions. This is now
fixed.

Release note: None
@yuzefovich yuzefovich requested review from DrewKimball and a team March 12, 2024 16:19
Copy link

blathers-crl bot commented Mar 12, 2024

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
Member

This change is Reviewable

Copy link
Collaborator

@DrewKimball DrewKimball left a comment

Choose a reason for hiding this comment

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

:lgtm: Good catch!

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

@yuzefovich
Copy link
Member Author

I kicked off a high vmodule run here, looks like it's green.

TFTR!

bors r+

@craig craig bot merged commit 9adee4e into cockroachdb:master Mar 12, 2024
19 checks passed
@craig
Copy link
Contributor

craig bot commented Mar 12, 2024

Build succeeded:

@yuzefovich yuzefovich deleted the fix-span-reuse branch March 12, 2024 20:17
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.

logictest: IndexBackfillMerger span used after finish in high vmodule config
3 participants