sashapolo commented on code in PR #1983:
URL: https://github.com/apache/ignite-3/pull/1983#discussion_r1177431939


##########
modules/raft/src/main/java/org/apache/ignite/raft/jraft/storage/snapshot/SnapshotExecutorImpl.java:
##########
@@ -250,7 +250,13 @@ public boolean init(final SnapshotExecutorOptions opts) {
         final FirstSnapshotLoadDone done = new FirstSnapshotLoadDone(reader);
         Requires.requireTrue(this.fsmCaller.onSnapshotLoad(done));
         try {
-            done.waitForRun();
+            // TODO: IGNITE-19363 We want to avoid deadlock for now, but this 
is an ad-hoc decision.
+            // We don't wait for the partition's snapshot load closure to 
finish here.
+            if (!node.getNodeId().getGroupId().contains("part")) {
+                done.waitForRun();
+            } else {
+                done.status = new Status();

Review Comment:
   I really hope that it is temporary, not checking the status seems dangerous



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to