[ 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: {noformat} start time total partitions copied partitions end time {noformat} was: Add JMX command to restore a cache group from the snapshot. Since the automatic snapshot restore operation can take a long time, we must be able to track its progress using metrics. > 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 > Fix For: 2.12 > > > 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 > total partitions > copied partitions > end time > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)