Set broadcast address in internode messaging handshake

patch by Ariel Weisberg; reviewed by jasobrown for CASSANDRA-14579
This commit is contained in:
Ariel Weisberg 2018-07-20 14:27:12 -07:00 committed by Jason Brown
parent 13150b001a
commit c4263d26b4
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
4.0
* Set broadcast address in internode messaging handshake (CASSANDRA-14579)
* Wait for schema agreement prior to building MVs (CASSANDRA-14571)
* Make all DDL statements idempotent and not dependent on global state (CASSANDRA-13426)
* Bump the hints messaging version to match the current one (CASSANDRA-14536)

View File

@ -1633,7 +1633,7 @@ public final class MessagingService implements MessagingServiceMBean
return null;
InetAddressAndPort preferredRemote = SystemKeyspace.getPreferredIP(to);
InetAddressAndPort local = FBUtilities.getLocalAddressAndPort();
InetAddressAndPort local = FBUtilities.getBroadcastAddressAndPort();
ServerEncryptionOptions encryptionOptions = secure ? DatabaseDescriptor.getInternodeMessagingEncyptionOptions() : null;
IInternodeAuthenticator authenticator = DatabaseDescriptor.getInternodeAuthenticator();