Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
2.1
-
None
Description
Current implementation allows configure checkpoint buffer size in PersistentStoreConfiguration, but checkpoint buffer will be created for each memory configuration with size equals the one indicated in PersistentStoreConfiguration.
For example:
PersistentStoreConfiguration prCfg = new PersistentStoreConfiguration(); prCfg.setCheckpointingFrequency(5L * 1024L * 1024L * 1024L); // 5GB. MemoryConfiguration memCfg = new MemoryConfiguration(); MemoryPolicyConfiguration pl1 = new MemoryPolicyConfiguration(); pl1.setMaxSize(100L * 1024L * 1024L); // 100 Mb. MemoryPolicyConfiguration pl2 = new MemoryPolicyConfiguration(); pl2.setMaxSize(10L * 1024L * 1024L * 1024L); // 10GB. memCfg.setMemoryPolicies(pl1, pl2);
pl1(max size 10Gb) will be have checkpoint buffer = 5GB and pl2(max size 100Mb) buffer= 5GB
Attachments
Issue Links
- links to