sergey-chugunov-1985 commented on code in PR #13507:
URL: https://github.com/apache/ignite/pull/13507#discussion_r3894641895
##########
modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ClientImpl.java:
##########
@@ -1490,11 +1479,11 @@ void ackReceived(TcpDiscoveryClientAckResponse res) {
else
U.error(log, "Failed to send message: " + msg, e);
- U.closeQuiet(sock);
+ U.closeQuiet(ses.socket());
synchronized (mux) {
- if (sock == this.sock)
- this.sock = null; // Connection has dead.
+ if (ses == this.ses)
+ this.ses = null; // Connection has dead.
Review Comment:
```suggestion
this.ses = null; // Connection has died.
```
--
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]