bereng commented on a change in pull request #896:
URL: https://github.com/apache/cassandra/pull/896#discussion_r581649467



##########
File path: src/java/org/apache/cassandra/repair/RepairRunnable.java
##########
@@ -393,22 +393,23 @@ private void repair(String[] cfnames, NeighborsAndRanges 
neighborsAndRanges)
     {
         if (options.isPreview())
         {
-            previewRepair(parentSession, creationTimeMillis, 
neighborsAndRanges.filterCommonRanges(keyspace, cfnames), cfnames);
+            previewRepair(parentSession, creationTimeMillis, 
neighborsAndRanges.filterCommonRanges(keyspace, cfnames), 
neighborsAndRanges.participants, cfnames);

Review comment:
       Done

##########
File path: src/java/org/apache/cassandra/repair/RepairRunnable.java
##########
@@ -447,13 +448,14 @@ public ListenableFuture apply(List<RepairSessionResult> 
results)
                 return Futures.immediateFuture(null);
             }
         }, MoreExecutors.directExecutor());
-        Futures.addCallback(repairResult, new 
RepairCompleteCallback(parentSession, successfulRanges, startTime, traceState, 
hasFailure, executor), MoreExecutors.directExecutor());
+        Futures.addCallback(repairResult, new 
RepairCompleteCallback(parentSession, successfulRanges, preparedEndpoints, 
startTime, traceState, hasFailure, executor), MoreExecutors.directExecutor());

Review comment:
       Done




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

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