Skip to content

p2p: lower flush timeout can cause connections to break #3264

@ebuchman

Description

@ebuchman

Two nodes, NodeA and NodeB.

NodeA has flush_throttle_timeout = 100ms
NodeB has flush_throttle_timeout = 10ms

NodeB sets persistent_peers=NodeA

Things work fine, but NodeB repeatedly hits flush failures, causing the connection to break. It happily reconnects shortly after due to persistent peer.

If we change NodeA's setting to match, then the connection stops dropping.

It's not immediately clear why we lowering the timeout on NodeA makes it easier to keep up with a lower timeout on NodeB

Metadata

Metadata

Assignees

No one assigned

    Labels

    C:p2pComponent: P2P pkgstalefor use by stalebot

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions