...
in-memory snapshots will resuse existing snapshot code when possible. So key design decisions stay the same. It assumed that reader knows and understand IEP-43. So design description will focus on difference on persistence and in-memory snapshot.
New optional flag --mode
will be added.
Possible values are PERSISTENT, INMEMORY, BOTH.
Default value is PERSISTENT to keep existing behaviour of command.
When concurrent creation of in-memory and persistent snapshots will be implemented default value can be changed to BOTH.
Example:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
> ./control.sh --snapshot --create SNP --mode INMEMORY |
...
Only PME required for in-memory snapshots. We can set write listener during PME because no concurrent transactions allowed.
...
DataRegionConfiguration#persistenceEnabled=false
for in-memory caches by the definition.PageIO
will require to be backward compatible.// Links to discussions on the devlist, if applicable.
...