open-telemetry / otel-arrow

Protocol and libraries for sending and receiving OpenTelemetry data using Apache Arrow
Apache License 2.0
68 stars 13 forks source link

Arrow tests reveal data races in `RecordBuilderStats` #214

Open jmacd opened 3 months ago

jmacd commented 3 months ago

The RecordBuilderStats object uses non-atomic increments for objects that are shared. The reason this is not as simple as using atomic.Int64, for example, is that there is also an HDRHistogram in there.

This is (as far as a I know) the only reason we couldn't enable race detection for all modules in this repository.