-
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
SocketManager: Use new feature to select path automatically #4092
SocketManager: Use new feature to select path automatically #4092
Conversation
treasure-data/serverengine#140 (comment)
We should fix this too, but it seems difficult to do it before the next release... |
e481703
to
2a3f39d
Compare
I've released ServerEngine v2.3.2. |
Thanks! I have updated the dependency. Checking tests... |
The currently failing tests are not related to this issue. |
Use ServerEngine's new feature: treasure-data/serverengine#143 On Windows, this prevents SocketManager from wrongly selecting an unavailable port, such as a port in excluded port range. Signed-off-by: Daijiro Fukuda <[email protected]>
Signed-off-by: Daijiro Fukuda <[email protected]>
893101f
to
34c3435
Compare
Rebased. |
Thanks! |
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
Thanks for your review! |
Use ServerEngine's new feature:
treasure-data/serverengine#143
On Windows, this prevents SocketManager from wrongly selecting an unavailable port, such as a port in excluded port range.
Which issue(s) this PR fixes:
Fixes treasure-data/serverengine#140
(Sorry, I made the issue in ServerEngine, and not made it here.)
What this PR does / why we need it:
On Windows,
ServerEngine::SocketManager::generate_path
sometimes generates an unavailable port.This makes Fluentd fail to start.
To fix this, I made the fix for ServerEngine:
open(nil)
to select path automatically treasure-data/serverengine#143This is a fix on Fluentd's side.
Docs Changes:
Not needed.
Release Note:
Fix bug that Fluentd sometimes tries to use an unavailable port and fails to start on Windows.