ptupitsyn commented on code in PR #10110:
URL: https://github.com/apache/ignite/pull/10110#discussion_r907038429


##########
modules/core/src/main/java/org/apache/ignite/internal/client/thin/ReliableChannel.java:
##########
@@ -527,10 +527,23 @@ private void onChannelFailure(ClientChannelHolder hld, 
ClientChannel ch) {
         rollCurrentChannel(hld);
 
         // For partiton awareness it's already initializing asynchronously in 
#onTopologyChanged.
-        if (scheduledChannelsReinit.get() && !partitionAwarenessEnabled)
+        if (addressChanged() || (scheduledChannelsReinit.get() && 
!partitionAwarenessEnabled))
             channelsInit();
     }
 
+    /**
+     * check ip address whether changed,after pod restart
+     */
+    private boolean addressChanged(){

Review Comment:
   ```suggestion
       private boolean addressFindeAddressesChanged() {
   ```



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