Vladsz83 commented on a change in pull request #9269:
URL: https://github.com/apache/ignite/pull/9269#discussion_r687864130



##########
File path: 
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/IgniteSnapshotManager.java
##########
@@ -1505,6 +1508,16 @@ SnapshotFutureTask registerSnapshotTask(
             if (prev != null)
                 return new SnapshotFutureTask(new 
IgniteCheckedException("Snapshot with requested name is already scheduled: " + 
snpName));
 
+            for (Integer grpId : parts.keySet()) {
+                if (!withMetaStorage && cctx.cache().isEncrypted(grpId)) {
+                    snpFutTask.onDone(new IgniteCheckedException("Snapshot 
contains encrypted cache group " + grpId + " but doesn't " +
+                        "include metastore. Metastore is requird because it 
contains encryption keys required to start with encrypted " +

Review comment:
       Fixed




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