Data race in simple span processor #3948
Labels
area:trace
Part of OpenTelemetry tracing
bug
Something isn't working
help wanted
Extra attention is needed
pkg:exporter:jaeger
Related to the Jaeger exporter package
Milestone
Description
The Go race detector finds a data race in the following code:
Running with
-race
will print (at least):This code can be found at https://github.com/brian-gavin/otel-jaeger-race.
Thanks!
Environment
Steps To Reproduce
git clone [email protected]:brian-gavin/otel-jaeger-race.git
cd otel-jaeger-race
go run -race .
Expected behavior
For no race to be detected.
The text was updated successfully, but these errors were encountered: