You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Pereslegin (Jira)" <ji...@apache.org> on 2022/09/01 08:20:00 UTC

[jira] [Updated] (IGNITE-17610) Rework snapshot cancel command and simplify command syntax in control script.

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

Pavel Pereslegin updated IGNITE-17610:
--------------------------------------
    Summary: Rework snapshot cancel command and simplify command syntax in control script.  (was: Rework snapshot cancel command and simplify snapshot command syntax in control script.)

> Rework snapshot cancel command and simplify command syntax in control script.
> -----------------------------------------------------------------------------
>
>                 Key: IGNITE-17610
>                 URL: https://issues.apache.org/jira/browse/IGNITE-17610
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Pavel Pereslegin
>            Priority: Major
>              Labels: iep-43
>
> Currently we have confusing snapshot restore command syntax.
> For example snapshot creation command:
> {noformat}
> --snapshot create snapshot_Name
> {noformat}
> But for snapshot restore we should add confusing "--start" option
> {noformat}
> --snapshot restore snapshot_Name --start
> {noformat}
> And same goes to "cancel" command.
> Cancel snapshot creation:
> {noformat}
> --snapshot cancel snapshot_Name
> {noformat}
> But to cancel snapshot restore you have to type something really weird:
> {noformat}
> --snapshot restore snapshot_Name --cancel
> {noformat}
> A new common snapshot "status" command has recently been introduced that displays an *operation ID* that can be used to cancel any snapshot operation in progress.
> So the proposal - make snapshot-commands syntax common:
> {noformat}
> --snapshot create snapshotName
> --snapshot restore snapshotName
> --snapshot status
> --snapshot cancel operationId
> {noformat}



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