nizhikov commented on a change in pull request #6982: IGNITE-12295: Index 
partition purge for file-based rebalancing
URL: https://github.com/apache/ignite/pull/6982#discussion_r336988779
 
 

 ##########
 File path: 
modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/database/H2Tree.java
 ##########
 @@ -676,4 +681,61 @@ public boolean created() {
 
         return e;
     }
+
+    /**
+     * Purge all rows that belong to specific partitions from the index.
+     *
+     * @param parts Partitions.
+     * @param shouldStop Allows to check stop condition.
+     */
+    public void purge(Set<Integer> parts, IgniteCallable<Boolean> shouldStop) 
throws IgniteCheckedException {
+        assert !F.isEmpty(parts) : "empty parts";
+        assert shouldStop != null : "shouldStop is null";
 
 Review comment:
   Do we need this comment?

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to