You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladimir Steshin (Jira)" <ji...@apache.org> on 2024/05/07 21:52:00 UTC

[jira] [Assigned] (IGNITE-22182) Move snapshop metadata validation to SnapshotMetadataVerificationTask

     [ https://issues.apache.org/jira/browse/IGNITE-22182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir Steshin reassigned IGNITE-22182:
-----------------------------------------

    Assignee: Vladimir Steshin

> Move snapshop metadata validation to SnapshotMetadataVerificationTask
> ---------------------------------------------------------------------
>
>                 Key: IGNITE-22182
>                 URL: https://issues.apache.org/jira/browse/IGNITE-22182
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Vladimir Steshin
>            Assignee: Vladimir Steshin
>            Priority: Minor
>              Labels: ise
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> In the the snapshot validation, we do some metaadas checks within `IgniteSnapshotManager` instead of dedicated `SnapshotMetadataVerificationTask`. Like:
> {code:java}
> if (masterKeyDigest == null && snpMasterKeyDigest != null) {
>                             res.onDone(new SnapshotPartitionsVerifyTaskResult(metas, new IdleVerifyResultV2(
>                                 Collections.singletonMap(cctx.localNode(), new IllegalArgumentException("Snapshot '" +
>                                     meta.snapshotName() + "' has encrypted caches while encryption is disabled. To " +
>                                     "restore this snapshot, start Ignite with configured encryption and the same " +
>                                     "master key.")))));
>                             return;
> }
> {code}
> Suck checks should be moved to the task.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)