-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
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
linux: guard launching duplicated fluentd instance with same configuration #617
Conversation
NOTE: /opt/fluent/bin/fluentd is auto-generated file, so it should be patched. |
0dcba92
to
ab8f2bd
Compare
b1fc5b9
to
d341283
Compare
Observed service restarting in short times. |
f860f53
to
3e89a51
Compare
Update comment in this PR. |
3e89a51
to
2915677
Compare
Unexpectedly, download-artifact fails.
|
It seems that there is no need to stick to download-artifact@master, created PR to use stable download-artifact@v4. |
NOTE: [bug] Node incompatibility: [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues |
f0960bd
to
96c47f9
Compare
got it, it may be missing runtime package dependency. |
db39aca
to
528ba69
Compare
checking with timeout. |
27fd5fd
to
5320ed8
Compare
As v5.0.3 is not released yet, test case in fresh install v5, lts should be skipped. |
a716237
to
31e0415
Compare
waiting CI to pass... |
31e0415
to
1231fba
Compare
36cbf6b
to
feba576
Compare
Closes: fluent#611 Before: We can launch Fluentd by /usr/sbin/fluentd even though fluentd service is running. Launching multiple Fluentd with the same config may cause inconsistency of the buffers or the pos files. After: We can't launch Fluentd by /usr/sbin/fluentd with the default config path if fluentd service is running. If one of the following options is specified, we can execute fluentd as before. * --config (-c) * --dry-run Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
feba576
to
881cbdf
Compare
Co-authored-by: Daijiro Fukuda <fukuda@clear-code.com> Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Co-authored-by: Daijiro Fukuda <fukuda@clear-code.com> Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
d6aaab0
to
3d96430
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have commented on one minor point, but this basically looks good to me.
Thanks for this!
I have confirmed this script on my local AlmaLinux 9, and it works well!
Co-authored-by: Daijiro Fukuda <fukuda@clear-code.com> Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
070680f
to
aee1135
Compare
linux: guard duplicated instance (not adding a new option)
Closes: #611
Before:
We can launch Fluentd by /usr/sbin/fluentd even though fluentd service
is running.
Launching multiple Fluentd with the same config may cause
inconsistency of the buffers or the pos files.
After:
We can't launch Fluentd by /usr/sbin/fluentd with the default config
path if fluentd service is running. If one of the following options is
specified, we can execute fluentd as before.