Closed jotak closed 2 years ago
@KalmanMeth might this be connected to what you suggested on the other stages that are not coping input entries ???
@jotak @mariomac is that something that will be fixed once @mariomac merges the "complete" using channels approach ???
I got this race today:
I know @jpinsonneau fixed a similar one recently (in loki write), but this is another one (I do have Julien's patch while seeing this). As far as I can tell, this one happened between a map iteration (in kafka ingest / logger) and probably a map write in
enrich
. We should review all map writes that we do and secure them (basically, do a copy on write). Not sure if there is such a thing out of the box in golang but it would be nice to have immutable maps, explicitly needing to copy to a mutable one before writing.cc @mariomac @eranra