8000 Restarted peers do not get initial gossip · Issue #28 · weaveworks/mesh · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Restarted peers do not get initial gossip #28
Closed
@bboreham

Description

@bboreham

At https://github.com/weaveworks/mesh/blob/master/connection.go#L194, the incoming UID is parsed into remote, but registerRemote() ignores this UID and looks up the peer by name.

If the peer has restarted and reconnected, this has the effect of overwriting the new info with the old peer's info, so for instance LocalPeer.handleAddConnection() will see it as an existing peer and not send the initial gossip to it, thus leaving it ignorant of current topology, DNS and IPAM data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0