-
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
msi: guard duplicated instance (not adding a new option) #648
msi: guard duplicated instance (not adding a new option) #648
Conversation
The msi installer is broken. I'm checking the cause. |
Why is fluentdwinsvc service running during the installation?? However, #622 does not have this problem. I wander what the difference is.
|
e192963
to
12dc74a
Compare
This problem is resolved. |
12dc74a
to
31f118f
Compare
This approach may be better than #622. |
31f118f
to
6653d95
Compare
As #647 was merged into master, let's rebase with it. |
6653d95
to
faf185e
Compare
Done! |
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.
LGTM.
Let's merge when all ci has passed. |
Thanks for your review! |
Can we put this in v5.0.4? |
This should be released in v5.0.4 IMHO. |
Before: We can launch Fluentd by fluentd.bat even though fluentdwinsvc 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 fluent.bat with the default config path if fluentdwinsvc is running. If some options are specified, we can execute fluentd.bat as before. Inspired by @kenhys's PR fluent#622. Signed-off-by: Daijiro Fukuda <fukuda@clear-code.com> Co-authored-by: Kentaro Hayashi <hayashi@clear-code.com>
faf185e
to
7cfd143
Compare
Refactored the variable name |
Abstraction
Spec change
Before:
We can launch Fluentd by fluentd.bat even though fluentdwinsvc 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 fluent.bat with the default config path if fluentdwinsvc is running.
If one of the following options is specified, we can execute fluentd.bat as before.
--config
(-c
)--dry-run
--reg-winsvc
--reg-winsvc-fluentdopt
Output
When the
fluentdwinsvc
is running, the behavior offluentd.bat
is as follows: