ibessonov commented on code in PR #2594:
URL: https://github.com/apache/ignite-3/pull/2594#discussion_r1328313149


##########
modules/page-memory/src/main/java/org/apache/ignite/internal/pagememory/persistence/checkpoint/CheckpointWorkflow.java:
##########
@@ -161,6 +174,15 @@ public void stop() {
         }
     }
 
+    /**
+     * Marks partition as dirty, forcing partition's meta-page to be written 
on disk during next checkpoint.
+     */
+    public void markPartitionAsDirty(DataRegion<?> dataRegion, int groupId, 
int partitionId) {
+        Set<FullPageId> dirtyMetaPageIds = 
dirtyPartitionsMap.computeIfAbsent(dataRegion, unused -> newKeySet());

Review Comment:
   I know, this way I made the code easier to read



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to