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/05/31 17:30:00 UTC

[jira] [Commented] (IGNITE-15067) Add custom destination path to the snapshost API

    [ https://issues.apache.org/jira/browse/IGNITE-15067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17544521#comment-17544521 ] 

Ignite TC Bot commented on IGNITE-15067:
----------------------------------------

{panel:title=Branch: [pull/10052/head] Base: [master] : Possible Blockers (1)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}
{color:#d04437}AOP{color} [[tests 0 Exit Code |https://ci2.ignite.apache.org/viewLog.html?buildId=6462513]]

{panel}
{panel:title=Branch: [pull/10052/head] Base: [master] : New Tests (7)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Control Utility{color} [[tests 2|https://ci2.ignite.apache.org/viewLog.html?buildId=6462434]]
* {color:#013220}IgniteControlUtilityTestSuite: GridCommandHandlerTest.testSnapshotCreateCheckAndRestoreCustomDir - PASSED{color}
* {color:#013220}IgniteControlUtilityTestSuite: GridCommandHandlerWithSSLTest.testSnapshotCreateCheckAndRestoreCustomDir - PASSED{color}

{color:#00008b}Control Utility (Zookeeper){color} [[tests 1|https://ci2.ignite.apache.org/viewLog.html?buildId=6462435]]
* {color:#013220}ZookeeperIgniteControlUtilityTestSuite: GridCommandHandlerTest.testSnapshotCreateCheckAndRestoreCustomDir - PASSED{color}

{color:#00008b}Snapshots{color} [[tests 4|https://ci2.ignite.apache.org/viewLog.html?buildId=6462485]]
* {color:#013220}IgniteSnapshotTestSuite: IgniteClusterSnapshotRestoreSelfTest.testClusterSnapshotRestoreFromCustomDir[Encryption=true] - PASSED{color}
* {color:#013220}IgniteSnapshotTestSuite: IgniteClusterSnapshotRestoreSelfTest.testClusterSnapshotRestoreFromCustomDir[Encryption=false] - PASSED{color}
* {color:#013220}IgniteSnapshotTestSuite: IgniteClusterSnapshotHandlerTest.testHandlerSnapshotLocation[Encryption=true] - PASSED{color}
* {color:#013220}IgniteSnapshotTestSuite: IgniteClusterSnapshotHandlerTest.testHandlerSnapshotLocation[Encryption=false] - PASSED{color}

{panel}
[TeamCity *--&gt; Run :: All* Results|https://ci2.ignite.apache.org/viewLog.html?buildId=6462626&amp;buildTypeId=IgniteTests24Java8_RunAll]

> Add custom destination path to the snapshost API
> ------------------------------------------------
>
>                 Key: IGNITE-15067
>                 URL: https://issues.apache.org/jira/browse/IGNITE-15067
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Maxim Muzafarov
>            Assignee: Pavel Pereslegin
>            Priority: Major
>              Labels: iep-43, ise
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The default configuration path obtains from the IgniteConfiguration. However, in some circumstances, it is good to set this destination path at runtime. This path must be configured relatively in the node working directory and must be accessible from the security point of view.
> Proposed API:
> {code}
>     public IgniteFuture<Void> createSnapshot(String name, String locPath);
> {code}
> control.sh *create* snapshot command syntax
> {noformat}
> control.(sh|bat) --snapshot create snapshot_name [--dest path] [--sync]
> Parameters:
>   snapshot_name  - Snapshot name.
>   path           - Path to the directory where the snapshot will be saved. If not specified, the default snapshot directory will be used.
>   sync           - Run the operation synchronously, the command will wait for the entire operation to complete. Otherwise, it will be performed in the background, and the command will immediately return control.
> {noformat}
> control.sh *check* snapshot command syntax
> {noformat}
> control.(sh|bat) --snapshot check snapshot_name [--src path]
> Parameters:
>   snapshot_name  - Snapshot name.
>   path           - Path to the directory where the snapshot files are located. If not specified, the default snapshot directory will be used.
> {noformat}
> control.sh *restore* snapshot command syntax
> {noformat}
> control.(sh|bat) --snapshot restore snapshot_name --start [--groups group1,...groupN] [--src path] [--sync]
> Parameters:
>   snapshot_name     - Snapshot name.
>   group1,...groupN  - Cache group names.
>   path              - Path to the directory where the snapshot files are located. If not specified, the default snapshot directory will be used.
>   sync              - Run the operation synchronously, the command will wait for the entire operation to complete. Otherwise, it will be performed in the background, and the command will immediately return control.
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)