[
https://issues.apache.org/jira/browse/IGNITE-6210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16145099#comment-16145099
]
ASF GitHub Bot commented on IGNITE-6210:
----------------------------------------
GitHub user DmitriyGovorukhin opened a pull request:
https://github.com/apache/ignite/pull/2536
IGNITE-6210 Size of the checkpoint buffer is limited
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gridgain/apache-ignite IGNITE-6210
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/2536.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2536
----
commit e0956a4db319113219b46f0fc033b1564423f831
Author: Dmitriy Govorukhin <[email protected]>
Date: 2017-08-29T10:46:20Z
IGNITE-6210 Size of the checkpoint buffer is limited by the size of the
memory policy
----
> inefficient memory consumption for checkpoint buffer
> ----------------------------------------------------
>
> Key: IGNITE-6210
> URL: https://issues.apache.org/jira/browse/IGNITE-6210
> Project: Ignite
> Issue Type: Bug
> Components: persistence
> Affects Versions: 2.1
> Reporter: Dmitriy Govorukhin
> Assignee: Dmitriy Govorukhin
> Priority: Critical
> Fix For: 2.2
>
>
> 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:
> {code}
> 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);
> {code}
> pl1(max size 10Gb) will be have checkpoint buffer = 5GB and pl2(max size
> 100Mb) buffer= 5GB
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)