ignite-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [ignite] nizhikov commented on a change in pull request #6941: FOR TEST POC evict index partitions
Date Tue, 15 Oct 2019 16:18:54 GMT
nizhikov commented on a change in pull request #6941: FOR TEST POC evict index partitions
URL: https://github.com/apache/ignite/pull/6941#discussion_r335051080
 
 

 ##########
 File path: modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/topology/GridDhtLocalPartition.java
 ##########
 @@ -1469,6 +1477,44 @@ public void beforeApplyBatch(boolean last) {
         // No-op.
     }
 
+    /**
+     * Initialize this partition to be a part of a exclusive clear over a set of partitions.
+     *
+     * @param fut Future to listen for completion of a larger clear procedure.
+     * @return {@code true} if successfully initialized, otherwise a retry is required.
+     */
+    public boolean exclusiveClearAsync(IgniteInternalFuture<Void> fut) {
 
 Review comment:
   Who protect this method in case of concurrent invocation?

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


With regards,
Apache Git Services

Mime
View raw message