fluent-plugin-concat
fluent-plugin-concat copied to clipboard
Use Thread::Mutex to resolve race condition
The problematic sequence:
- Add last line to
@buffer - Call
flush_bufferinflush_timeout_buffer(via periodical timer) -
flush_buffer
Sequence 2 and 3 may race.
has this race otherwise been resolved?
This is very rare case. I cannot reproduce this race condition in my environment.