rpuch commented on code in PR #3329:
URL: https://github.com/apache/ignite-3/pull/3329#discussion_r1509082311


##########
modules/network/src/main/java/org/apache/ignite/internal/network/netty/ConnectionManager.java:
##########
@@ -109,6 +110,12 @@ public class ConnectionManager implements 
ChannelCreationListener {
 
     private volatile @Nullable ClusterNode localNode;
 
+    /**
+     * Released when local node is set; attempts to initiate a connection to 
this node from the outside will wait
+     * till it's released.
+     */
+    private final CountDownLatch localNodeSet = new CountDownLatch(1);

Review Comment:
   Switched to the future



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