-
Notifications
You must be signed in to change notification settings - Fork 1.2k
framework-cluster: use bind.interface for cluster communication #11797
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
base: main
Are you sure you want to change the base?
Conversation
Fixes apache#11460 Signed-off-by: Abhishek Kumar <[email protected]>
} | ||
|
||
protected InetAddress getBindAddressIfAvailable() { | ||
String bindAddressStr = ServerPropertiesUtil.getProperty("bind.interface"); |
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.
bind.interface
is a bit misleading, maybe bind.address
?
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.
@weizhouapache I'm not sure why it is named that way
https://github.com/apache/cloudstack/blob/main/client/conf/server.properties.in#L20
https://github.com/apache/cloudstack/blob/main/client/src/main/java/org/apache/cloudstack/ServerDaemon.java#L252
I didn't want to change the property name as it already exist
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.
ok, I see
let's keep the name
can you update the description in server.properties ?
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.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #11797 +/- ##
============================================
+ Coverage 17.50% 17.53% +0.02%
- Complexity 15427 15463 +36
============================================
Files 5894 5898 +4
Lines 526890 527263 +373
Branches 64338 64383 +45
============================================
+ Hits 92240 92455 +215
- Misses 424272 424413 +141
- Partials 10378 10395 +17
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Description
Fixes #11460
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?