Skip to content

panic from bitswap usage during Start #159

Description

@distractedm1nd

Because Bitswap does not have a Start/Stop interface, and the Dagstore does not lock the d.shards map on startup, there can be a panic on concurrent read/write to d.shards.

For the short term, we are locking the dagstore during the Start operation. Should this be upstreamed? Is it feasible to add some sort of Start/Stop interface to bitswap as a better long term solution?

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