[ https://issues.apache.org/jira/browse/IGNITE-14794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Pereslegin updated IGNITE-14794: -------------------------------------- Description: Add JMX command to restore a cache group from the snapshot. Suggested methods {code:java} @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); {code} 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|long| |processed partitions|long| |error message|string| was: Add JMX command to restore a cache group from the snapshot. Suggested methods {code:java} @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); {code} Since the automatic snapshot restore operation can take a long time, we must be able to track its progress using metrics. Suggested metrics: {noformat} start time end time request ID snapshot name total partitions processed partitions error message (if any) {noformat} > Add JMX command and metrics for automatic snapshot restore operation. > ---------------------------------------------------------------------- > > Key: IGNITE-14794 > URL: https://issues.apache.org/jira/browse/IGNITE-14794 > Project: Ignite > Issue Type: Improvement > Reporter: Pavel Pereslegin > Assignee: Pavel Pereslegin > Priority: Major > Labels: iep-43, ise > Fix For: 2.13 > > Time Spent: 10m > Remaining Estimate: 0h > > Add JMX command to restore a cache group from the snapshot. > Suggested methods > {code:java} > @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); > {code} > 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|long| > |processed partitions|long| > |error message|string| > > -- This message was sent by Atlassian Jira (v8.20.1#820001)