[ 
https://issues.apache.org/jira/browse/IGNITE-17610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17601742#comment-17601742
 ] 

Nikita Amelchev commented on IGNITE-17610:
------------------------------------------

[~xtern], LGTM.

> Rework snapshot cancel command and simplify syntax in control script.
> ---------------------------------------------------------------------
>
>                 Key: IGNITE-17610
>                 URL: https://issues.apache.org/jira/browse/IGNITE-17610
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Pavel Pereslegin
>            Assignee: Pavel Pereslegin
>            Priority: Major
>              Labels: iep-43
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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}
> Cancel snapshot creation:
> {noformat}
> --snapshot cancel snapshot_Name
> {noformat}
> But to cancel the 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.
> h5. So the proposal - make snapshot-commands syntax simple and universal
> {noformat}
> --snapshot create snapshotName
> --snapshot restore snapshotName
> --snapshot status
> --snapshot cancel --id operationId
> {noformat}



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

Reply via email to