Skip to content

Commit

Permalink
IGNITE-14729 Fix race condition in ClientImpl (#9102)
Browse files Browse the repository at this point in the history
  • Loading branch information
SammyVimes authored May 18, 2021
1 parent 6c8cfbc commit 626168e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2330,12 +2330,12 @@ private void processNodeAddFinishedMessage(TcpDiscoveryNodeAddFinishedMessage ms

Collection<ClusterNode> nodes = updateTopologyHistory(topVer, msg);

notifyDiscovery(EVT_NODE_JOINED, topVer, locNode, nodes, msg.spanContainer());

boolean disconnected = disconnected();

state = CONNECTED;

notifyDiscovery(EVT_NODE_JOINED, topVer, locNode, nodes, msg.spanContainer());

if (disconnected) {
notifyDiscovery(EVT_CLIENT_NODE_RECONNECTED, topVer, locNode, nodes, null);

Expand Down

0 comments on commit 626168e

Please sign in to comment.