[jira] [Created] (IGNITE-12802) Move checkpoint state fields to CheckpointProgress

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-12802) Move checkpoint state fields to CheckpointProgress

Anton Vinogradov (Jira)
Alexey Goncharuk created IGNITE-12802:
-----------------------------------------

             Summary: 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


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)