mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-17 03:24:40 -07:00
Originally, only solicited routes were retried in case of a disconnect, but that was before gossip protocol was introduced. Since then, two servers that connect to each other due to gossip should retry to reconnect if the connection breaks, even if the route is not explicit. However, server will retry only once or more accurately, ConnectRetries+1. This PR solves the issue that the reconnect attempt was not initiated for a "solicited route" that was not explicit. Maybe related to #3571 Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
150 KiB
150 KiB