driftx commented on code in PR #1738:
URL: https://github.com/apache/cassandra/pull/1738#discussion_r924507251


##########
src/java/org/apache/cassandra/locator/TokenMetadata.java:
##########
@@ -1039,6 +1041,13 @@ public Set<InetAddress> getAllEndpoints()
         }
     }
 
+    public Set<InetAddress> getAllMembers()

Review Comment:
   I think since tMD is the source of truth for the gossiper, we should do 
something similar to isMember (which is how the gossiper determines membership) 
and consult the tokenToEndpointMap.



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