Skip to content

pubsubpeer: keeps estabiishing connection even when node is shutting down #1926

@vladopajic

Description

@vladopajic

pubsubpeer.connectImpl keeps running and attempting to reestablish connection even when node is shutting down.

expected behavior:
all logic related to pubsub protocol should be stoppend when switch is stopped.

how to reproduce:

  • run Flood publish to all peers with score above threshold, regardless of subscription test it trace debug lvl
  • observer logs at the end of stdout:
    • Could not establish send connection
    • connection not found
    • Error dialing
    • etc...

note: since nodes are gracefully stopped there should be no logs of this kind

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    new

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions