Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-17610

Rework snapshot cancel command and simplify syntax in control script.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.15
    • control.sh
    • Added unified syntax for starting and canceling snapshot operations using control script.
    • Docs Required, Release Notes Required

    Description

      Currently we have confusing snapshot restore command syntax.

      For example snapshot creation command:

      --snapshot create snapshot_Name
      

      But for snapshot restore we should add confusing "--start" option

      --snapshot restore snapshot_Name --start
      

      Cancel snapshot creation:

      --snapshot cancel snapshot_Name
      

      But to cancel the snapshot restore you have to type something really weird:

      --snapshot restore snapshot_Name --cancel
      

      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
      --snapshot create snapshotName
      --snapshot restore snapshotName
      --snapshot status
      --snapshot cancel --id operationId
      

      Attachments

        Issue Links

          Activity

            People

              xtern Pavel Pereslegin
              xtern Pavel Pereslegin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m