You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ignite TC Bot (Jira)" <ji...@apache.org> on 2022/09/05 19:16:00 UTC

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

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

Ignite TC Bot commented on IGNITE-17610:
----------------------------------------

{panel:title=Branch: [pull/10236/head] Base: [master] : No blockers found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/10236/head] Base: [master] : No new tests found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}{panel}
[TeamCity *--&gt; Run :: All* Results|https://ci2.ignite.apache.org/viewLog.html?buildId=6595545&amp;buildTypeId=IgniteTests24Java8_RunAll]

> 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}
> And the same goes to the "cancel" command.
> 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.
> So the proposal - make snapshot-commands syntax simple and universal
> {noformat}
> --snapshot create snapshotName
> --snapshot restore snapshotName
> --snapshot status
> --snapshot cancel operationId
> {noformat}



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