-
Notifications
You must be signed in to change notification settings - Fork 3.9k
distsqlrun: fix panic due to multiple calls to tracing.FinishSpan #39606
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
though I'd wait for someone more familiar with this code to give it a look as well. Thanks for tracking this down!
Reviewed 2 of 2 files at r1.
Reviewable status:complete! 1 of 0 LGTMs obtained (waiting on @RaduBerinde and @tbg)
Thanks to you and @tbg for the reproduction steps! @RaduBerinde is OOO, so maybe @jordanlewis could take a look from the DistSQL perspective? |
This commit removes calls to tracing.FinishSpan from the samplerProcessor and sampleAggregatorProcessor. These calls are no longer necessary after memory accounting was added in cockroachdb#39144, which includes a call to tracing.FinishSpan in InternalClose(). Fixes cockroachdb#39262 Release note: None
1e31863
to
9bc96c8
Compare
@rytaft he's out too. I'll see if anyone else can take a look. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status:
complete! 1 of 0 LGTMs obtained (and 1 stale) (waiting on @RaduBerinde and @tbg)
TFTR! bors r+ |
39606: distsqlrun: fix panic due to multiple calls to tracing.FinishSpan r=rytaft a=rytaft This commit removes calls to `tracing.FinishSpan` from the `samplerProcessor` and `sampleAggregatorProcessor`. These calls are no longer necessary after memory accounting was added in #39144, which includes a call to `tracing.FinishSpan` in `InternalClose()`. Fixes #39262 Release note: None Co-authored-by: Rebecca Taft <[email protected]>
Build succeeded |
This commit removes calls to
tracing.FinishSpan
from thesamplerProcessor
and
sampleAggregatorProcessor
. These calls are no longer necessary aftermemory accounting was added in #39144, which includes a call to
tracing.FinishSpan
in
InternalClose()
.Fixes #39262
Release note: None