tkalkirill commented on code in PR #6463:
URL: https://github.com/apache/ignite-3/pull/6463#discussion_r2300716428


##########
modules/page-memory/src/main/java/org/apache/ignite/internal/pagememory/persistence/checkpoint/Checkpointer.java:
##########
@@ -874,7 +874,9 @@ private void 
fsyncDeltaFilePageStoreOnCheckpointThread(FilePageStore filePageSto
         try {
             CompletableFuture<DeltaFilePageStoreIo> deltaFilePageStoreFuture = 
filePageStore.getNewDeltaFile();
 
-            assert deltaFilePageStoreFuture != null;
+            if (deltaFilePageStoreFuture == null) {

Review Comment:
   It may happen that the partition deletion occurs right before the fsync of 
the delta file, for example. Enabled tests in this PR reproduce this problem.



-- 
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: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to