You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ignite TC Bot (Jira)" <ji...@apache.org> on 2021/07/28 16:57:00 UTC
[jira] [Commented] (IGNITE-14794) Add JMX command and metrics for
automatic snapshot restore operation.
[ https://issues.apache.org/jira/browse/IGNITE-14794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17388888#comment-17388888 ]
Ignite TC Bot commented on IGNITE-14794:
----------------------------------------
{panel:title=Branch: [pull/9186/head] Base: [master] : No blockers found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/9186/head] Base: [master] : New Tests (2)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Basic 3{color} [[tests 2|https://ci.ignite.apache.org/viewLog.html?buildId=6104988]]
* {color:#013220}IgniteBasicWithPersistenceTestSuite: IgniteSnapshotMXBeanTest.testRestoreSnapshot - PASSED{color}
* {color:#013220}IgniteBasicWithPersistenceTestSuite: IgniteSnapshotMXBeanTest.testCancelRestoreSnapshot - PASSED{color}
{panel}
[TeamCity *--> Run :: All* Results|https://ci.ignite.apache.org/viewLog.html?buildId=6104075&buildTypeId=IgniteTests24Java8_RunAll]
> 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
>
> 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:
> {noformat}
> start time
> total partitions
> copied partitions
> end time
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)