...
- StoredCacheData.
- binary_meta.
- marshaller.
must be properly prepared and saved during snapshot.
Restore
Prerequisites:
- Restored data region is empty - there are no any caches stored in it.
- Count of nodes in cluster are the same as in time of creation (this restriction can be eliminated in Phase 2 of IEP implementation).
- All nodes in cluster has snapshot locally.
Steps:
- Block data region exclusively on each node - any attempt of usage (cache creation) must be blocked.
- Restore all saved data into data region.
- Restore all saved metadata.
- Wait all nodes complete step 2 and 3.
- Start caches that belongs to restored data region.
Risks and Assumptions
DataRegionConfiguration#persistenceEnabled=false
for in-memory caches by the definition.- The same value must be for DataRegionConfiguration when cache group restored from in-memory snapshot.
- After this feature implemented
PageIO
will require to be backward compatible. - The way to restore snapshot on different topology must be further investigated.
Discussion Links
// Links to discussions on the devlist, if applicable.
...