Skip to content

Hub IPs are leaking to leafnodes even if no_advertise is set to true #8367

Description

@formzeke

Observed behavior

Leaf nodes get the hub IP (the node that they are connected to) when no_advertise is set to true on direct connection. If the connection is broken, they will use this list to reconnect (and fail).

Expected behavior

if no_advertise is set, no hub IP is leaking in any path.
Currently the workaround is to set the "leafnodes" { "advertise": "" } to override behaviour.

Server and client version

Server: 2.14.0
Client: 2.12.2

Host environment

No response

Steps to reproduce

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    defectSuspected defect such as a bug or regression

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions