nizhikovprivate commented on code in PR #12081:
URL: https://github.com/apache/ignite/pull/12081#discussion_r2135449991


##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/file/FilePageStoreManager.java:
##########
@@ -192,19 +192,20 @@ public FilePageStoreManager(GridKernalContext ctx) {
     /** {@inheritDoc} */
     @Override public void cleanupPersistentSpace(CacheConfiguration 
cacheConfiguration) throws IgniteCheckedException {
         try {
-            File cacheWorkDir = ft.cacheStorage(cacheConfiguration);
-
-            if (!cacheWorkDir.exists())
-                return;
-
-            try (DirectoryStream<Path> files = 
newDirectoryStream(cacheWorkDir.toPath(),
-                new DirectoryStream.Filter<Path>() {
-                    @Override public boolean accept(Path entry) throws 
IOException {
-                        return NodeFileTree.binFile(entry.toFile());
+            for (File cacheWorkDir : ft.cacheStorages(cacheConfiguration)) {

Review Comment:
   done



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