You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by "NSAmelchev (via GitHub)" <gi...@apache.org> on 2023/04/07 08:37:50 UTC

[GitHub] [ignite] NSAmelchev commented on a diff in pull request #10630: IGNITE-19252 The incremental snapshot restore operation fails if there is a node not from the baseline.

NSAmelchev commented on code in PR #10630:
URL: https://github.com/apache/ignite/pull/10630#discussion_r1160544499


##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/SnapshotRestoreProcess.java:
##########
@@ -1395,7 +1395,7 @@ private void finishCacheStop(UUID reqId, Map<UUID, Boolean> res, Map<UUID, Throw
      * @return Result future.
      */
     private IgniteInternalFuture<Boolean> incrementalSnapshotRestore(UUID reqId) {
-        if (ctx.clientNode())
+        if (ctx.clientNode() || !CU.baselineNode(ctx.discovery().localNode(), ctx.state().clusterState()))

Review Comment:
   Thanks, 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