We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Here is a race condition I found when debugging on master:
master
ch_parent_events is created in the worker thread without any signalling, so the parent can attempt to use it before its been defined:
ch_parent_events
fluent-bit/src/flb_output_thread.c
Lines 176 to 188 in 530866b
Line 325 in 530866b
ch_thread_events
Lines 198 to 202 in 530866b
The text was updated successfully, but these errors were encountered:
ah! good one. So the pipe must be created in the output_thread interface before the thread is created, so it's just shared..
Sorry, something went wrong.
output thread: fix race condition on event loop creation (#2908)
78b0f6d
Signed-off-by: Eduardo Silva <[email protected]>
Fixed in 78b0f6d
edsiper
No branches or pull requests
Here is a race condition I found when debugging on
master
:ch_parent_events
is created in the worker thread without any signalling, so the parent can attempt to use it before its been defined:fluent-bit/src/flb_output_thread.c
Lines 176 to 188 in 530866b
fluent-bit/src/flb_output_thread.c
Line 325 in 530866b
I imagine
ch_thread_events
would have a similar issuefluent-bit/src/flb_output_thread.c
Lines 198 to 202 in 530866b
The text was updated successfully, but these errors were encountered: