ClientReconnectMessage id shouldn't be saved for lastMsgId on client side
@@ -1842,7 +1842,9 @@ class ClientImpl extends TcpDiscoveryImpl {
spi.stats.onMessageProcessingFinished(msg);
- if (spi.ensured(msg) && state == CONNECTED)
+ if (spi.ensured(msg)
+ && state == CONNECTED
+ && !(msg instanceof TcpDiscoveryClientReconnectMessage))
lastMsgId = msg.id();
}
