mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-14 18:20:42 -07:00
Issuing a configuration reload for a leafnode that has remotes defined with remotes having more than 1 url could lead to a failure. This is because we have introduced shuffling of remote urls but that was done in the server's options object, which then would cause the DeepEqual when diff'ing options to fail. We move the suffling to the private list of urls. The other issue was that the "old" remote option may not have had a local account and it was not set to "$G", which could make the DeepEqual fail. Resolves #2273 Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
96 KiB
96 KiB