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

cherrypick-1.1: storage: avoid trace use-after-finish #18645

Merged
merged 1 commit into from Sep 21, 2017

Conversation

tbg
Copy link
Member

@tbg tbg commented Sep 20, 2017

action() closed over a context but was then called in a goroutine.
Use the context provided by the stopper instead, which inserts
a span with the proper lifetime.

cc @cockroachdb/release

action() closed over a context but was then called in a goroutine.
Use the context provided by the stopper instead, which inserts
a span with the proper lifetime.
@tbg tbg requested a review from a team September 20, 2017 21:41
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@tbg tbg merged commit df9b762 into cockroachdb:release-1.1 Sep 21, 2017
@tbg tbg deleted the cp11-traceuaf branch September 21, 2017 15:39
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.

None yet

3 participants