You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is possible for the thread calling Emitter.emit and the EmittingThread to race on the firstEventTimestamp field. If the Emitter.emit thread was running Batch.tryAddFirstEvent
and gets context switched out after writing the event to the buffer
and incrementing the event count but before setting firstEventTimestamp, this can cause timeSinceFirstEvent to be inaccurate, leading to the batch not being sealed within the configured flushMillis.
Short Description
It is possible for the thread calling
Emitter.emit
and theEmittingThread
to race on thefirstEventTimestamp
field. If theEmitter.emit
thread was runningBatch.tryAddFirstEvent
and gets context switched out after writing the event to the buffer
and incrementing the event count but before setting
firstEventTimestamp
, this can causetimeSinceFirstEvent
to be inaccurate, leading to the batch not being sealed within the configuredflushMillis
.Stack Trace
Stack Trace
The text was updated successfully, but these errors were encountered: