alex-plekhanov commented on a change in pull request #8206:
URL: https://github.com/apache/ignite/pull/8206#discussion_r494268992



##########
File path: 
modules/core/src/main/java/org/apache/ignite/internal/client/thin/ReliableChannel.java
##########
@@ -461,9 +418,8 @@ private void initAllChannelsAsync() {
      * @param ch Channel.
      */
     private void onTopologyChanged(ClientChannel ch) {
-        if (partitionAwarenessEnabled && 
affinityCtx.updateLastTopologyVersion(ch.serverTopologyVersion(),
-            ch.serverNodeId()))
-            initAllChannelsAsync();
+        if (affinityCtx.updateLastTopologyVersion(ch.serverTopologyVersion(), 
ch.serverNodeId()))
+            channelsInit(true);

Review comment:
       If partition awareness is disabled and a new node is joined it's fine to 
work with the current node until failure (we don't need to find new nodes 
unless we disconnected from the current).




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


Reply via email to