ipfs / ipfs/kubo

Investigate add/pin/gc locking

Open
#3,514 1 comment 1 reaction 0 assignees View on GitHub
help wanted kind/test topic/commands:add topic/repo
Dominant language
Go
Stars
17.1k
Forks
3.2k
Avg merge
3d 18h
Merged PRs (30d)
11

Description

While looking into #3470 and #3436, I found that the locks around adding/pinning/GC look really wonky and inconsistent.

This issue is a reminder that we need to:

- [ ] Look very closely at which locks are in play
- [ ] Document in detail how these locks work
- [ ] Write stress tests which make sure we don't end deadlock ourselves

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.