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


##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/IgniteSnapshotManager.java:
##########
@@ -976,6 +976,9 @@ private IgniteInternalFuture<SnapshotOperationResponse> 
initLocalFullSnapshot(
         if (!isPersistenceEnabled(cctx.gridConfig()) && req.snapshotPath() == 
null)
             ft.mkdirSnapshotsRoot();
 
+        if (req.configOnly() && !req.dump())

Review Comment:
   Looks like one check is enough. But I tend to keep this double check, just 
in case some execution flow will be changed.



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