Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • 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:

  1. Block data region exclusively on each node - any attempt of usage (cache creation) must be blocked.
  2. Restore all saved data into data region.
  3. Restore all saved metadata.
  4. Wait all nodes complete step 2 and 3.
  5. 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.

...