Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql: prevent span use after finish with rollbacks and high vmodule
Previously, we could get a panic of "span use after finish" in test builds in some cases (like a rollback). This was occurring since the context cancellation function can log some stuff depending on the verbosity level (in `contextutil/context.go:74`) long time after we have finished the tracing span from that context. To go around that issue we now push the responsibility of finishing the span into the cancellation function. Release note: None
- Loading branch information