[
https://issues.apache.org/jira/browse/IGNITE-19034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ilya Shishkov updated IGNITE-19034:
-----------------------------------
Attachment: SnapshotStatusReproducerTest.patch
> VisorSnapshotStatusTask returns empty result for restoring snapshot until
> snapshot check is completed
> -----------------------------------------------------------------------------------------------------
>
> Key: IGNITE-19034
> URL: https://issues.apache.org/jira/browse/IGNITE-19034
> Project: Ignite
> Issue Type: Bug
> Components: snaphots
> Reporter: Ilya Shishkov
> Priority: Minor
> Labels: iep-43, ise
> Attachments: SnapshotStatusReproducerTest.patch
>
>
> Currently, snapshot check is performed under the hood during restoring of a
> snapshot. For big snapshots check operation execution can take a long time.
> In such case, if you call two similar commands, they will return different
> results:
> Deprecated command _restore --status_ shows, that snapshot operation is in
> progress:
> {noformat}
> Command [SNAPSHOT] started
> Arguments: --snapshot restore test_snapshot --status
> --------------------------------------------------------------------------------
> Command deprecated. Use '--snapshot status' instead.
> Snapshot cache group restore operation is running [snapshot=test_snapshot]
> Command [SNAPSHOT] finished with code: 0
> {noformat}
> But actual command _--snapshot status_ does not show that any snapshot
> operation is running:
> {noformat}
> Command [SNAPSHOT] started
> Arguments: --snapshot status
> --------------------------------------------------------------------------------
> There is no create or restore snapshot operation in progress.
> Command [SNAPSHOT] finished with code: 0
> {noformat}
> Here is a reproducer: [^SnapshotStatusReproducerTest.patch]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)