Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
Derek Collison
2020-04-10 17:30:03 -07:00
parent e8ce738808
commit ef85a1b836
2 changed files with 5 additions and 5 deletions

View File

@@ -1151,7 +1151,7 @@ func (c *client) updateSmap(sub *subscription, delta int32) {
// If we are solicited make sure this is a local client or a non-solicited leaf node
skind := sub.client.kind
if c.isSpokeLeafNode() && !(skind == CLIENT || (skind == LEAF && !sub.client.isSpokeLeafNode())) {
if c.isSpokeLeafNode() && !(skind == CLIENT || skind == SYSTEM || (skind == LEAF && !sub.client.isSpokeLeafNode())) {
c.mu.Unlock()
return
}