arjunashok commented on code in PR #73:
URL: https://github.com/apache/cassandra-sidecar/pull/73#discussion_r1370982250


##########
adapters/base/src/main/java/org/apache/cassandra/sidecar/adapters/base/TokenRangeReplicaProvider.java:
##########
@@ -285,7 +285,9 @@ String of(String endpoint)
                 {
                     LOGGER.debug("Found gossipInfoEntry={}", gossipInfoEntry);
                     String hostStatus = gossipInfoEntry.status();
-                    if (hostStatus != null && 
hostStatus.startsWith("BOOT_REPLACE,"))
+                    String hostStatusWithPort = 
gossipInfoEntry.statusWithPort();
+                    if ((hostStatus != null && 
hostStatus.startsWith("BOOT_REPLACE,")) ||
+                        (hostStatusWithPort != null && 
hostStatusWithPort.startsWith("BOOT_REPLACE,")))

Review Comment:
   Oops, seeing this late. I agree with you that we could do without the log 
line, since it really does not affect the sidecar or this APIs behavior. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to