ibessonov commented on code in PR #6023:
URL: https://github.com/apache/ignite-3/pull/6023#discussion_r2219246762


##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/disaster/ManualGroupRestartRequest.java:
##########
@@ -99,6 +124,20 @@ public CompletableFuture<Void> 
handle(DisasterRecoveryManager disasterRecoveryMa
 
         var restartFutures = new ArrayList<CompletableFuture<?>>();
 
+        if (cleanUp) {
+            restartPartitionWithCleanup(disasterRecoveryManager, revision, 
timestamp, restartFutures);
+        } else {
+            restartPartition(disasterRecoveryManager, revision, 
restartFutures);
+        }
+
+        return restartFutures.isEmpty() ? nullCompletedFuture() : 
allOf(restartFutures.toArray(CompletableFuture[]::new));

Review Comment:
   I see, thank you!



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

To unsubscribe, e-mail: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to