You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sql: always wait for all goroutines in fingerprintSpan
This commit fixes an oversight from
1cf6236. In particular, in that change
we ensured that we never leak the worker goroutines in fingerprintSpan
by cancelling the context in the coordinator and checking for that in
the workers. However, it was possible for the coordinator to exit before
the workers which can lead to undefined behavior down the line (in
a test failure we just saw usage of the trace span after finish). This
commit fixes the oversight by always blocking the coordinator until all
its workers exit.
Release note: None
0 commit comments