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