AMashenkov commented on a change in pull request #9423:
URL: https://github.com/apache/ignite/pull/9423#discussion_r711979026



##########
File path: 
modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/stat/IgniteStatisticsManagerImpl.java
##########
@@ -400,10 +456,21 @@ public synchronized void processObsolescence() {
                     taskParts.add(k);
             });
 
-            if (!taskParts.isEmpty())
-                res.put(key, taskParts);
+            // Will add even empty list of partitions to recollect just to 
force obsolescence info to be stored.
+            res.put(finalCfg, taskParts);
         }
 
         return res;
     }
+
+    /**
+     * Check that cluster statistics usage state is not OFF and cluster is 
active.
+     *
+     * @param op Operation name.
+     */
+    public void checkStatisticsState(String op) {

Review comment:
       ```suggestion
       public void ensureActive(String op) {
   ```




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