cassandra-pr mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aweisberg <...@git.apache.org>
Subject [GitHub] cassandra pull request #269: Review tr range movements
Date Tue, 18 Sep 2018 14:45:58 GMT
Github user aweisberg commented on a diff in the pull request:

    https://github.com/apache/cassandra/pull/269#discussion_r218463068
  
    --- Diff: src/java/org/apache/cassandra/streaming/StreamPlan.java ---
    @@ -70,6 +70,16 @@ public StreamPlan(StreamOperation streamOperation, int connectionsPerHost,
         /**
          * Request data in {@code keyspace} and {@code ranges} from specific node.
          *
    +     * Here, we have to encode both _local_ range transientness (encoded in Replica itself,
in RangesAtEndpoint)
    +     * and _remote_ (source) range transientmess, which is encoded by splitting ranges
into full and transient.
    +     *
    +     * At the other end the distinction between full and transient is ignored it just
used the transient status
    +     * of the Replica objects we send to determine what to send. The real reason we have
this split down to
    --- End diff --
    
    We also care about it being split up into two collections https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/dht/StreamStateStore.java#L81
    
    It's used to determine what remote nodes have already provided us.


---

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


Mime
View raw message