ignite-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [ignite] Mmuzaf commented on a change in pull request #5619: IGNITE-10619: CommunicationSpi support channels initial commit
Date Fri, 07 Jun 2019 12:55:42 GMT
Mmuzaf commented on a change in pull request #5619: IGNITE-10619: CommunicationSpi support
channels initial commit
URL: https://github.com/apache/ignite/pull/5619#discussion_r291579586
 
 

 ##########
 File path: modules/core/src/main/java/org/apache/ignite/internal/managers/communication/GridIoManager.java
 ##########
 @@ -1593,6 +1658,75 @@ public boolean checkNodeLeft(UUID nodeId, IgniteCheckedException sndErr,
boolean
             (ping && !ctx.discovery().pingNode(nodeId));
     }
 
+    /**
+     * @param node Destination node to connect to.
+     * @param topic Topic to send the request to.
+     * @param initMsg Channel initialization message.
+     * @return Established {@link Channel} to use.
+     * @throws IgniteCheckedException If fails.
+     */
+    private IgniteInternalFuture<Channel> openChannel(
+        ClusterNode node,
+        Object topic,
+        Message initMsg
+    ) throws IgniteCheckedException {
+        assert node != null;
+        assert topic != null;
+
+        if (locNodeId.equals(node.id()))
 
 Review comment:
   Agree.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message