timoninmaxim commented on a change in pull request #8206:
URL: https://github.com/apache/ignite/pull/8206#discussion_r489276021



##########
File path: 
modules/core/src/main/java/org/apache/ignite/internal/client/thin/ReliableChannel.java
##########
@@ -169,8 +167,10 @@
             // No-op.
         }
 
-        for (ClientChannelHolder hld : channels)
-            hld.closeChannel();
+        if (channels.get() != null) {
+            for (ClientChannelHolder hld: channels.get())

Review comment:
       Fixed. The only place channels used directly is a single getter in 
`applyOnDefaultChannel` within guard read lock.




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