[
https://issues.apache.org/jira/browse/IGNITE-13510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17580908#comment-17580908
]
Amelchev Nikita commented on IGNITE-13510:
------------------------------------------
[~xtern], [~RyzhovSV], I have prepared
[PR|https://github.com/apache/ignite/pull/10202]. Could you take a look, please?
> Getting status of snapshot execution via command line and jmx
> -------------------------------------------------------------
>
> Key: IGNITE-13510
> URL: https://issues.apache.org/jira/browse/IGNITE-13510
> Project: Ignite
> Issue Type: Task
> Reporter: Sergei Ryzhov
> Assignee: Amelchev Nikita
> Priority: Major
> Labels: iep-43, ise, snapshot
> Fix For: 2.14
>
> Time Spent: 4.5h
> Remaining Estimate: 0h
>
> the control.sh utility immediately relinquishes control
> and without using metricExporter it is impossible to understand whether the
> snapshot completed or not
> Creating
> {noformat}
> Create snapshot operation is in progress.
> Snapshot name: snapshot1
> Operation ID: 0c636326-76f8-4918-b15c-1010d9c47a5f
> Started at: Aug 17, 2022 8:02:27 PM
> Duration: 00:00:00.734
> Estimated operation progress:
> Node ID Processed, bytes Total, bytes
> Percent
> a4d3f584-bd67-4550-a26a-afa3bd500004 120.0 KB 2.2 MB
> 5%
> ef3a27fd-86eb-4886-97e6-7b061f100001 16.6 MB 34.1 MB
> 48%
> ffd8a17e-1fa4-4671-aac6-e2a344700003 12.6 MB 34.4 MB
> 36%
> 072d4b79-d4f9-472e-8b6a-d05c34f00002 132.0 KB 2.1 MB
> 6%
> 210db306-0aa9-45ef-a0ca-5b7f61200000 16.7 MB 34.2 MB
> 48%
> {noformat}
> Restoring
> {noformat}
> Restore snapshot operation is in progress.
> Snapshot name: snapshot1
> Operation ID: 96201080-b1d0-4f0c-80ef-5e046c1f62cf
> Started at: Aug 17, 2022 8:02:30 PM
> Duration: 00:00:00.170
> Estimated operation progress:
> Node ID Processed, partitions Total,
> partitions Percent
> a4d3f584-bd67-4550-a26a-afa3bd500004 9 9
> 100%
> ef3a27fd-86eb-4886-97e6-7b061f100001 11 16
> 68%
> ffd8a17e-1fa4-4671-aac6-e2a344700003 14 16
> 87%
> 072d4b79-d4f9-472e-8b6a-d05c34f00002 11 12
> 91%
> 210db306-0aa9-45ef-a0ca-5b7f61200000 12 16
> 75%
> {noformat}
> No snapshot operation
> {noformat}
> There is no create or restore snapshot operation in progress.
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)