Files
nats-server/server
Ivan Kozlovic f011db47c7 Fixed race issue with lookup/update of the sent no-interest map
We can't use a simple sync.Map here because the noInterest map
for inbound gateway connections are used concurrently. Indeed,
whenever an account would have been registered or a new sub created
this could trigger an update of that map in order to clear the
fact that we had sent an A-/RS- and now are sending an A+/RS+.
So changed to simple map but protected by gw connection's lock.

Without this change, server would panic if there are messages
published to cluster A that are sent to server B while a sub
is then created on matching subject on B.

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
2018-11-29 14:22:56 -07:00
..
2018-11-28 18:04:26 -07:00
2018-03-29 11:48:09 -04:00
2018-11-26 20:27:08 -08:00
2018-11-27 19:00:03 -07:00
2018-11-28 13:15:47 -07:00
2018-11-28 18:04:26 -07:00
2018-11-27 19:00:03 -07:00
2018-11-26 20:27:08 -08:00
2018-10-12 17:00:41 -07:00
2018-10-31 20:28:44 -07:00
2018-11-27 19:00:03 -07:00
2018-11-28 18:04:26 -07:00
2018-11-27 19:39:41 -07:00
2018-11-27 19:00:03 -07:00
2018-10-06 14:06:14 -07:00
2018-10-06 14:04:14 -07:00
2018-11-28 13:15:47 -07:00
2018-11-27 19:39:41 -07:00
2018-03-15 22:31:07 -07:00
2018-10-22 16:27:30 -06:00
2018-03-15 22:31:07 -07:00
2018-10-22 16:27:30 -06:00
2018-11-27 19:00:03 -07:00
2018-11-07 19:50:45 -08:00