[GitHub] cassandra pull request #269: Review tr range movements

2018-09-20 Thread aweisberg
Github user aweisberg commented on a diff in the pull request: https://github.com/apache/cassandra/pull/269#discussion_r219271571 --- Diff: src/java/org/apache/cassandra/dht/RangeStreamer.java --- @@ -265,10 +318,11 @@ public void addRanges(String keyspaceName, ReplicaCollection

[GitHub] cassandra pull request #269: Review tr range movements

2018-09-20 Thread aweisberg
Github user aweisberg commented on a diff in the pull request: https://github.com/apache/cassandra/pull/269#discussion_r219279196 --- Diff: src/java/org/apache/cassandra/dht/RangeStreamer.java --- @@ -473,7 +472,7 @@ else if (useStrictConsistency) }

[GitHub] cassandra pull request #269: Review tr range movements

2018-09-20 Thread aweisberg
Github user aweisberg commented on a diff in the pull request: https://github.com/apache/cassandra/pull/269#discussion_r219277526 --- Diff: src/java/org/apache/cassandra/dht/RangeStreamer.java --- @@ -436,6 +436,7 @@ else if (useStrictConsistency) Set

[GitHub] cassandra pull request #269: Review tr range movements

2018-09-20 Thread aweisberg
Github user aweisberg commented on a diff in the pull request: https://github.com/apache/cassandra/pull/269#discussion_r219281323 --- Diff: src/java/org/apache/cassandra/service/RangeRelocator.java --- @@ -0,0 +1,326 @@ +/* + * Licensed to the Apache Software Foundation

[GitHub] cassandra issue #269: Review tr range movements

2018-09-20 Thread aweisberg
Github user aweisberg commented on the issue: https://github.com/apache/cassandra/pull/269 Looks mostly solid. There is one real bug in the assertion, and the filter that doesn't do anything and doesn't seem necessary. Two comments that can be deleted. And the nit about how I think

[GitHub] cassandra pull request #269: Review tr range movements

2018-09-20 Thread aweisberg
Github user aweisberg commented on a diff in the pull request: https://github.com/apache/cassandra/pull/269#discussion_r219278292 --- Diff: src/java/org/apache/cassandra/dht/RangeStreamer.java --- @@ -446,16 +447,14 @@ else if (useStrictConsistency)

[GitHub] cassandra pull request #267: Consolidate batch write code

2018-09-20 Thread belliottsmith
Github user belliottsmith commented on a diff in the pull request: https://github.com/apache/cassandra/pull/267#discussion_r219131794 --- Diff: src/java/org/apache/cassandra/service/StorageProxy.java --- @@ -1021,18 +1021,18 @@ private static void syncWriteToBatchlog(Collection

[GitHub] cassandra pull request #267: Consolidate batch write code

2018-09-20 Thread belliottsmith
Github user belliottsmith commented on a diff in the pull request: https://github.com/apache/cassandra/pull/267#discussion_r219133467 --- Diff: src/java/org/apache/cassandra/locator/ReplicaPlans.java --- @@ -61,26 +73,62 @@ return forSingleReplicaWrite(keyspace, token,

[GitHub] cassandra pull request #267: Consolidate batch write code

2018-09-20 Thread belliottsmith
Github user belliottsmith commented on a diff in the pull request: https://github.com/apache/cassandra/pull/267#discussion_r219129563 --- Diff: src/java/org/apache/cassandra/locator/ReplicaPlans.java --- @@ -61,26 +73,62 @@ return forSingleReplicaWrite(keyspace, token,

[GitHub] cassandra pull request #267: Consolidate batch write code

2018-09-20 Thread belliottsmith
Github user belliottsmith commented on a diff in the pull request: https://github.com/apache/cassandra/pull/267#discussion_r219128835 --- Diff: src/java/org/apache/cassandra/locator/ReplicaPlans.java --- @@ -61,26 +73,62 @@ return forSingleReplicaWrite(keyspace, token,

[GitHub] cassandra pull request #267: Consolidate batch write code

2018-09-20 Thread belliottsmith
Github user belliottsmith commented on a diff in the pull request: https://github.com/apache/cassandra/pull/267#discussion_r219138039 --- Diff: src/java/org/apache/cassandra/locator/ReplicaPlans.java --- @@ -61,26 +73,62 @@ return forSingleReplicaWrite(keyspace, token,

[GitHub] cassandra pull request #267: Consolidate batch write code

2018-09-20 Thread ifesdjeen
Github user ifesdjeen commented on a diff in the pull request: https://github.com/apache/cassandra/pull/267#discussion_r219137918 --- Diff: src/java/org/apache/cassandra/locator/ReplicaPlans.java --- @@ -61,26 +73,62 @@ return forSingleReplicaWrite(keyspace, token,

[GitHub] cassandra pull request #267: Consolidate batch write code

2018-09-20 Thread ifesdjeen
Github user ifesdjeen commented on a diff in the pull request: https://github.com/apache/cassandra/pull/267#discussion_r219140446 --- Diff: src/java/org/apache/cassandra/locator/ReplicaPlans.java --- @@ -61,26 +73,62 @@ return forSingleReplicaWrite(keyspace, token,