Skip to content

[SPIKE] Connections held beyond their liveliness #196

Description

@mattyg

Extracted from holochain/holochain#5376

I've seen some unexpected behavior around connections. Holochain's network metrics show an open connection long after the other conductor has been killed. We should review this behavior and either confirm it is expected and document, or create issues to resolve it.

There may be others, but these are the ones I noticed:

Behavior 1:

Behavior 2:
After a connection is closed, the connection is almost immediately re-established with webrtc: false. This can be reproduced by:

  • launch 2 conductors using pion transport
  • wait for them to establish a webrtc: true connection
  • kill one conductor
  • wait for the live conductor to remove the connection
  • after a few more seconds, the connection is re-added, with webrtc: false

AC:

  • Review behaviors above and confirm if behavior is expected
  • If behavior is expected, document it
  • If behavior is unexpected, create issues to resolve, or resolve it if spike time permits

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    Ready for refinement

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions