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 2022/01/21 08:10: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=17479886#comment-17479886 ]
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 (9)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Snapshots{color} [[tests 4|https://ci2.ignite.apache.org/viewLog.html?buildId=6278557]]
* {color:#013220}IgniteSnapshotTestSuite: IgniteSnapshotMXBeanTest.testRestoreSnapshot[Encryption=false] - PASSED{color}
* {color:#013220}IgniteSnapshotTestSuite: IgniteSnapshotMXBeanTest.testCancelRestoreSnapshot[Encryption=false] - PASSED{color}
* {color:#013220}IgniteSnapshotTestSuite: IgniteSnapshotMXBeanTest.testRestoreSnapshot[Encryption=true] - PASSED{color}
* {color:#013220}IgniteSnapshotTestSuite: IgniteSnapshotMXBeanTest.testCancelRestoreSnapshot[Encryption=true] - PASSED{color}
{color:#00008b}Snapshots With Indexes{color} [[tests 5|https://ci2.ignite.apache.org/viewLog.html?buildId=6278558]]
* {color:#013220}IgniteSnapshotWithIndexingTestSuite: IgniteClusterSnapshotRestoreWithIndexingTest.testClusterSnapshotRestoreOnBiggerTopology[Encryption is disabled] - PASSED{color}
* {color:#013220}IgniteSnapshotWithIndexingTestSuite: IgniteClusterSnapshotRestoreWithIndexingTest.testBasicClusterSnapshotRestoreWithMetadata[Encryption is disabled] - PASSED{color}
* {color:#013220}IgniteSnapshotWithIndexingTestSuite: IgniteClusterSnapshotRestoreWithIndexingTest.testBasicClusterSnapshotRestore[Encryption is disabled] - PASSED{color}
* {color:#013220}IgniteSnapshotWithIndexingTestSuite: IgniteClusterSnapshotRestoreMetricsTest.testRestoreSnapshotProgress[Encryption is disabled] - PASSED{color}
* {color:#013220}IgniteSnapshotWithIndexingTestSuite: IgniteClusterSnapshotRestoreMetricsTest.testRestoreSnapshotError[Encryption is disabled] - PASSED{color}
{panel}
[TeamCity *--> Run :: All* Results|https://ci2.ignite.apache.org/viewLog.html?buildId=6278575&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, ise
> Fix For: 2.13
>
> Time Spent: 40m
> 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|int|
> |processed partitions|int|
> |error message|string|
>
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)