Skip to content

Commit

Permalink
This looks like it may fix the bootstrap issue
Browse files Browse the repository at this point in the history
  • Loading branch information
juiceblender committed Apr 3, 2018
1 parent 61a8773 commit 00222dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/java/org/apache/cassandra/streaming/StreamSession.java
Expand Up @@ -183,7 +183,7 @@ public StreamSession(StreamOperation streamOperation, InetAddressAndPort peer, I
this.connecting = connecting;
this.index = index;

OutboundConnectionIdentifier id = OutboundConnectionIdentifier.stream(InetAddressAndPort.getByAddressOverrideDefaults(FBUtilities.getBroadcastAddressAndPort().address, 0),
OutboundConnectionIdentifier id = OutboundConnectionIdentifier.stream(InetAddressAndPort.getByAddressOverrideDefaults(FBUtilities.getJustLocalAddress(), 0),
InetAddressAndPort.getByAddressOverrideDefaults(connecting.address, MessagingService.instance().portFor(connecting)));
this.messageSender = new NettyStreamingMessageSender(this, id, factory, StreamMessage.CURRENT_VERSION, previewKind.isPreview());
this.metrics = StreamingMetrics.get(connecting);
Expand Down

0 comments on commit 00222dd

Please sign in to comment.