ID | IEP-43 |
Author | |
Sponsor | |
Created |
|
Status | ACTIVE |
The most of open-source distributed systems provide `cluster snapshots` functionality, but the Apache Ignite doesn't have such one. Cluster snapshots will allow users to copy their data from an active cluster and load it later on another, such as copying data from a production system into a smaller QA or development system.
Internal API which allows to request and receive the required snapshot of cache groups from a remote. Used as a part of IEP-28: Rebalance peer-2-peer to send created local snapshot to the remote (demander) node.
The snapshot procedure stores all internal files (binary meta, marshaller meta, cache group data files, and cache group configuration) the same directory structure way as the Apache Ignite does with preserving configured consistent node id.
To restore a cluster from snapshot user must manually copy all snapshot data files to the IGNITE_HOME/work
directory pay attention to consistent node ids.
maxmuzaf@TYE-SNE-0009931 ignite % tree work work └── snapshots └── backup23012020 ├── binary_meta │ ├── snapshot_IgniteClusterSnapshotSelfTest0 │ ├── snapshot_IgniteClusterSnapshotSelfTest1 │ └── snapshot_IgniteClusterSnapshotSelfTest2 ├── db │ ├── snapshot_IgniteClusterSnapshotSelfTest0 │ │ ├── cache-default │ │ │ ├── cache_data.dat │ │ │ ├── part-0.bin │ │ │ ├── part-2.bin │ │ │ ├── part-3.bin │ │ │ ├── part-4.bin │ │ │ ├── part-5.bin │ │ │ └── part-6.bin │ │ └── cache-txCache │ │ ├── cache_data.dat │ │ ├── part-3.bin │ │ ├── part-4.bin │ │ └── part-6.bin │ ├── snapshot_IgniteClusterSnapshotSelfTest1 │ │ ├── cache-default │ │ │ ├── cache_data.dat │ │ │ ├── part-1.bin │ │ │ ├── part-3.bin │ │ │ ├── part-5.bin │ │ │ ├── part-6.bin │ │ │ └── part-7.bin │ │ └── cache-txCache │ │ ├── cache_data.dat │ │ ├── part-1.bin │ │ ├── part-5.bin │ │ └── part-7.bin │ └── snapshot_IgniteClusterSnapshotSelfTest2 │ ├── cache-default │ │ ├── cache_data.dat │ │ ├── part-0.bin │ │ ├── part-1.bin │ │ ├── part-2.bin │ │ ├── part-4.bin │ │ └── part-7.bin │ └── cache-txCache │ ├── cache_data.dat │ ├── part-0.bin │ └── part-2.bin └── marshaller 17 directories, 30 files
// Describe project risks, such as API or binary compatibility issues, major protocol changes, etc.
http://apache-ignite-developers.2346864.n4.nabble.com/DISCUSSION-Hot-cache-backup-td41034.html
// Links or report with relevant JIRA tickets.