mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-17 03:24:40 -07:00
fix daisy chained leaf node subject propagation issue. (#2468)
fixes #2448 initLeafNodeSmapAndSendSubs did not pick up enough local subscriptions. Signed-off-by: Matthias Hanel <mh@synadia.com>
This commit is contained in:
@@ -1481,7 +1481,7 @@ func (s *Server) initLeafNodeSmapAndSendSubs(c *client) {
|
||||
|
||||
// If we are solicited we only send interest for local clients.
|
||||
if c.isSpokeLeafNode() {
|
||||
acc.sl.localSubs(&subs)
|
||||
acc.sl.localSubs(&subs, true)
|
||||
} else {
|
||||
acc.sl.All(&subs)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user