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

Add JMX command and metrics for automatic snapshot restore operation.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.13
    • None
    • Added JMX management and metrics for snapshot restore operation
    • Docs Required, Release Notes Required

    Description

      Add JMX command to restore a cache group from the snapshot.
      Suggested methods

          @MXBeanDescription("Restore cluster-wide snapshot.")
          public void restoreSnapshot(
              @MXBeanParameter(name = "snpName", description = "Snapshot name.") String name,
              @MXBeanParameter(name = "cacheGroupNames", description = "Optional comma-separated list of cache group names.") String cacheGroupNames);
      
          @MXBeanDescription("Cancel previously started snapshot restore operation.")
          public void cancelSnapshotRestore(@MXBeanParameter(name = "snpName", description = "Snapshot name.") String name);
      

      Since the automatic snapshot restore operation can take a long time, we must be able to track its progress using metrics.

      Suggested metrics:

      Name Type
      start time long
      end time long
      request ID string
      snapshot name string
      total partitions int
      processed partitions int
      error message string

       

       

      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 - 1h 10m
                  1h 10m