nizhikov commented on code in PR #10314:
URL: https://github.com/apache/ignite/pull/10314#discussion_r1069500134


##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/IgniteSnapshotManager.java:
##########
@@ -879,6 +898,33 @@ private IgniteInternalFuture<SnapshotOperationResponse> 
initLocalSnapshotStartSt
             return initLocalFullSnapshot(req, grpIds, comprGrpIds, 
withMetaStorage);
     }
 
+    /**
+     * Handles received Consistent Cut ID from remote node.
+     *
+     * @param id Consistent Cut ID.
+     */
+    public void handleConsistentCutId(UUID id) {
+        if (consistentCutId != null)
+            return;
+
+        synchronized (snpOpMux) {
+            if (consistentCutId != null)
+                return;

Review Comment:
   Let's check if `id.equals(consitentCutId)` and print some warning if not.



-- 
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