sk0x50 commented on a change in pull request #5779: IGNITE-10508 Support the
new checkpoint feature not wait for the previous operation to complete
URL: https://github.com/apache/ignite/pull/5779#discussion_r253422675
##########
File path:
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/GridCacheDatabaseSharedManager.java
##########
@@ -3992,58 +4187,174 @@ public void shutdownNow() {
}
}
- /**
- * Reorders list of checkpoint pages and splits them into needed number of
sublists according to
- * {@link DataStorageConfiguration#getCheckpointThreads()} and
- * {@link DataStorageConfiguration#getCheckpointWriteOrder()}.
- *
- * @param cpPagesTuple Checkpoint pages tuple.
- */
- private GridMultiCollectionWrapper<FullPageId> splitAndSortCpPagesIfNeeded(
- IgniteBiTuple<Collection<GridMultiCollectionWrapper<FullPageId>>,
Integer> cpPagesTuple
- ) {
- List<FullPageId> cpPagesList = new ArrayList<>(cpPagesTuple.get2());
+ private static class CheckpointPages {
Review comment:
Please add javadoc.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services