[ 
https://issues.apache.org/jira/browse/IGNITE-7380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16322005#comment-16322005
 ] 

Ivan Rakov commented on IGNITE-7380:
------------------------------------

[~dpavlov], a few comments:
1. The problem can be covered by test - you can create group with many caches 
and partitions and check that almost-empty checkpoint writes limited number of 
pages.
2. It would be better to introduce "12" as constant and add comment there.

> Avoid updating PagePartitionCounters in case all counters were not modified
> ---------------------------------------------------------------------------
>
>                 Key: IGNITE-7380
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7380
>             Project: Ignite
>          Issue Type: Improvement
>          Components: persistence
>            Reporter: Dmitriy Pavlov
>            Assignee: Dmitriy Pavlov
>            Priority: Critical
>
> PagePartitionCountersIO ignores actual values of counters and marks pages 
> dirty even if partition has no counters update.
> This leads to  PAGE_RECORD creation for pages from PagePartitionCountersIO
> and as result with pages from TrackingPageIO.
> These modificaiton may be skipped if counters are checked for equality before 
> storing data.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to