Github user ifesdjeen commented on a diff in the pull request:
https://github.com/apache/cassandra/pull/224#discussion_r197132130
--- Diff: src/java/org/apache/cassandra/locator/TokenMetadata.java ---
@@ -1204,21 +1205,21 @@ private String printPendingRanges()
return sb.toString();
}
- public Collection<InetAddressAndPort> pendingEndpointsFor(Token token,
String keyspaceName)
+ public Replicas pendingEndpointsFor(Token token, String keyspaceName)
--- End diff --
If we return with more specific type, but pass less specific type, it might
be simpler to establish a contract for List and Set.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]