librdkafka icon indicating copy to clipboard operation
librdkafka copied to clipboard

Fix data race when a buffer queue is being reset instead of being initialized

Open emasab opened this issue 1 year ago • 1 comments
trafficstars

A data race happened when emptying buffers of a failing broker, in its thread, with the statistics callback in main thread gathering the buffer counts. Solved by resetting the atomic counters instead of initializing them. Happening since 1.x

Closes #4522

emasab avatar May 15 '24 10:05 emasab

:tada: All Contributor License Agreements have been signed. Ready to merge.
Please push an empty commit if you would like to re-run the checks to verify CLA status for all contributors.