beobal commented on code in PR #4613:
URL: https://github.com/apache/cassandra/pull/4613#discussion_r2873283344


##########
src/java/org/apache/cassandra/tcm/Discovery.java:
##########
@@ -94,12 +118,14 @@ public Discovery(Supplier<MessageDelivery> messaging, 
Supplier<Set<InetAddressAn
 
     public DiscoveredNodes discover()
     {
-        return discover(5);
+        return discover(5, false);
     }
 
-    public DiscoveredNodes discover(int rounds)
+    public DiscoveredNodes discover(int rounds, boolean allPeers)
     {
         boolean res = state.compareAndSet(State.NOT_STARTED, 
State.IN_PROGRESS);
+        if (!res)

Review Comment:
   Good call, done.



-- 
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