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

Receiver crash report: concurrency bug #204

Closed jmacd closed 3 months ago

jmacd commented 3 months ago

The v0.23.0 receiver includes a potential crash due to a concurrency violation since #181.

The Arrow consumer needs to be used sequentially from a single goroutine. I believe this was the intention, and the code needs to be refactored to improve readability, since this bug was not uncovered during review.