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
engine: added conditional to avoid re-scheduling conflict
When fluent-bit is shutting down it tries to immediately reschedule any
pending retries, however, due to how scheduling works a flush task can
be scheduled to run and (by signaling the appropriate pipe) then
flb_engine_reschedule_retries can try to invalidate it and re-schedule
it which in turn causes a problem when handle_output_event is invoked to
handle the result of the flush that was supposed to be aborted because
when a chunk has only one route it's always set down.
This is not the optimal approach but it's the safest one within the
limits of the system.
Signed-off-by: Leonardo Alminana <[email protected]>
0 commit comments