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.
backupccl: fix a span use-after-Finish
This processor was spawning a goroutine whose tracing span is finished externally when the processor is moved to draining. That might have happened while the goroutine was running, which caused the span to be possibly used afterwards. That's not cool. This patch overrides the processor's draining process so that it properly waits for the goroutine to finish before finishing the span. Release note: None
- Loading branch information
1 parent
a539b38
commit 799b21b
Showing
1 changed file
with
21 additions
and
2 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