Vladsz83 commented on code in PR #13686:
URL: https://github.com/apache/ignite/pull/13686#discussion_r4348301703


##########
modules/core/src/main/java/org/apache/ignite/internal/management/cache/VerifyBackupPartitionsTask.java:
##########
@@ -277,15 +276,20 @@ public 
VerifyBackupPartitionsJob(CacheIdleVerifyCommandArg arg) {
             return res;
         }
 
-        /**
-         * Cancels futures from given index.
-         *
-         * @param start Index to start from.
-         * @param partHashCalcFuts Partitions hash calculation futures to 
cancel.
-         */
-        private void cancelFuts(int start, List<Future<Map<PartitionKey, 
PartitionHashRecord>>> partHashCalcFuts) {
-            for (int i = start; i < partHashCalcFuts.size(); i++)
-                partHashCalcFuts.get(i).cancel(false);
+        /** */
+        private void cancelFutures(int startIdx, List<Future<Map<PartitionKey, 
PartitionHashRecord>>> futs) {

Review Comment:
   Just 'cancel' then (will push later)?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to