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


##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/IgniteSnapshotManager.java:
##########
@@ -2769,36 +2781,36 @@ private void checkIncrementalCanBeCreated(
                     "Encrypted cache groups not supported [groupId=" + grpId + 
']');
             }
 
-            File snpCacheDir = sft.cacheStorage(gctx.config());
-
-            if (!snpCacheDir.exists()) {
-                throw new IgniteCheckedException("Create incremental snapshot 
request has been rejected. " +
-                    "Cache group directory not found [groupId=" + grpId + ']');
-            }
+            for (File snpCacheDir : sft.cacheStorages(gctx.config())) {
+                if (!snpCacheDir.exists()) {
+                    throw new IgniteCheckedException("Create incremental 
snapshot request has been rejected. " +
+                        "Cache group directory not found [groupId=" + grpId + 
']');

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