-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
The reload configuration with the worker tag failed #3469
Comments
Use the following, do not define multiple
|
@kenhys But the first time it started, there was no problem, only on reload ,Moreover, my configuration is very complex, which is divided into multiple files, and some configurations cannot be written to a worker tag. I would like to know if this boot is ok and if it is a bug when it reloads |
I want to add configuration dynamically by adding files, each with worker tags. Is that not supportive? But why is there no problem at startup, only on reload |
Hmm, I've overlooked it. |
https://github.com/fluent/fluentd/blob/master/lib/fluent/supervisor.rb#L290-L303 |
I cannot reproduce it by |
There are 2 places which show such message:
fluentd/lib/fluent/root_agent.rb Line 95 in 1b46fe0
and former one is used in this case. |
|
fluentd/lib/fluent/root_agent.rb Lines 69 to 124 in 8f990b8
|
Hmm, it's ambiguous whether multiple |
I think it would be better that check duplication for |
Describe the bug
I used a configuration with the worker tag, which runs on startup but not on reload.
To Reproduce
Use my configuration to start and reload
Expected behavior
fluent/log.rb:371:error: Failed to reload config file: specified worker_id<0> collisions is detected on directive. Available worker id(s): []
Your Environment
Your Configuration
Your Error Log
Additional context
No response
The text was updated successfully, but these errors were encountered: