Skip to content
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

inline_config is replaced with the input value when user specify - #2708

Merged
merged 1 commit into from
Nov 30, 2019

Conversation

ganmacs
Copy link
Member

@ganmacs ganmacs commented Nov 27, 2019

Which issue(s) this PR fixes:
no

What this PR does / why we need it:

Current implementation calling STDIN.read in supervisors and workers.
it causes blocking in worker side.

Docs Changes:

no

Release Note:

same as the title .

@ganmacs ganmacs self-assigned this Nov 27, 2019
@ganmacs ganmacs requested a review from repeatedly November 27, 2019 19:32
@ganmacs ganmacs added the bug Something isn't working label Nov 27, 2019
Current implementation calling `STDIN.read` in supervisors and workers.
it cause blocking in worker side.

Signed-off-by: Yuta Iwama <[email protected]>
@ganmacs
Copy link
Member Author

ganmacs commented Nov 29, 2019

could you review this patch? @cosmo0920 @ashie

@cosmo0920 cosmo0920 self-requested a review November 29, 2019 01:31
Copy link
Contributor

@cosmo0920 cosmo0920 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

The following comment is nitpicks.
Feel free to ignore in this PR.

I hadn't use this this feature until now.
I got confused about this feature.

I expected that inline config is freshly and entirely used for Fluentd configuration.
However, currently, inline config is appended loaded Fluentd configuration.

This behavior got confuse for me.

@ganmacs
Copy link
Member Author

ganmacs commented Nov 30, 2019

True. I think so.
We can delete this confusing feature because fluentd document doesn't mention this feature (https://docs.fluentd.org/deployment/command-line-option#i-inline-config). But for now, I just fixed this feature's bug. And I created an issue about this. this should be discussed in it. #2711

@ganmacs ganmacs merged commit 863ecea into fluent:master Nov 30, 2019
@ganmacs ganmacs deleted the fix-inline-conf branch November 30, 2019 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants