You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2023/01/09 13:47:41 UTC

[GitHub] [ignite] ivandasch commented on a diff in pull request #10468: IGNITE-18199 Implement punching holes in snapshot restoration process.

ivandasch commented on code in PR #10468:
URL: https://github.com/apache/ignite/pull/10468#discussion_r1064657975


##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/SnapshotRestoreProcess.java:
##########
@@ -1051,7 +1062,30 @@ private IgniteInternalFuture<Boolean> preload(UUID reqId) {
 
                                 assert partFut != null : snpFile.getAbsolutePath();
 
-                                partFut.complete(snpFile.toPath());
+                                if (!opCtx0.isGroupCompressed(grpId)) {
+                                    partFut.complete(snpFile.toPath());
+
+                                    return;
+                                }
+
+                                CompletableFuture.supplyAsync(

Review Comment:
   Fixed



-- 
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-unsubscribe@ignite.apache.org

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