[ https://issues.apache.org/jira/browse/IGNITE-12802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17076336#comment-17076336 ]
Alexey Goncharuk commented on IGNITE-12802: ------------------------------------------- Merged to master. > Move checkpoint state fields to CheckpointProgress > -------------------------------------------------- > > Key: IGNITE-12802 > URL: https://issues.apache.org/jira/browse/IGNITE-12802 > Project: Ignite > Issue Type: Improvement > Reporter: Alexey Goncharuk > Assignee: Stanilovsky Evgeny > Priority: Major > Fix For: 2.9 > > Time Spent: 40m > Remaining Estimate: 0h > > This is a review follow-up for IGNITE-7792. I've noticed that quite a few > fields in {{GridCacheDatabaseSharedManager}} are related to the state of > current checkpoint: > {code} > writtenPagesCntr > syncedPagesCntr > evictedPagesCntr > currCheckpointPagesCnt > {code} > After checkpoint is completed, these fields are reset. On the other hand, we > have a separate class to track the state of current checkpoint: > {{CheckpointProgressImpl}}. I believe it makes sense to move these fields to > the separate class. Perhaps, it also makes sense to make this class a > top-level class. -- This message was sent by Atlassian Jira (v8.3.4#803005)