cassandra-pr mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdeggleston <...@git.apache.org>
Subject [GitHub] cassandra pull request #224: 14405 replicas
Date Thu, 17 May 2018 22:14:45 GMT
Github user bdeggleston commented on a diff in the pull request:

    https://github.com/apache/cassandra/pull/224#discussion_r189117001
  
    --- 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)
         {
             PendingRangeMaps pendingRangeMaps = this.pendingRanges.get(keyspaceName);
             if (pendingRangeMaps == null)
    -            return Collections.emptyList();
    +            return new ReplicaList(0);
    --- End diff --
    
    fixed


---

---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org


Mime
View raw message