Skip to content

fifo-log-demux: Fix a race condition on readLogs()

Vgutierrez requested to merge fix-race-condition into main

scanner.Bytes() doesn't perform any allocation, so we were injecting the internal slice used by the scanner on the publish channel triggering a race condition between readLogs() and sendLogs() when the ingest rate was high enough

Merge request reports