ipfs/kubo

Investigate add/pin/gc locking

Open

#3 514 ouverte le 16 déc. 2016

Voir sur GitHub
 (1 commentaire) (1 réaction) (0 assignés)Go (2 725 forks)batch import
help wantedkind/testtopic/commands:addtopic/repo

Métriques du dépôt

Stars
 (13 906 stars)
Métriques de merge PR
 (Merge moyen 4j 2h) (28 PRs mergées en 30 j)

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

Guide contributeur