Details
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
- is duplicated by
-
IGNITE-14933 Implement metrics for a snapshot restore operation
- Resolved
- relates to
-
IGNITE-13805 Add support for cache group restore from a snapshot on the same topology
- Resolved
- requires
-
IGNITE-15146 Checking the snapshot creates a large number of unused threads that do not terminate.
- Resolved
- links to
(1 links to)