ipfs/kubo

Investigate add/pin/gc locking

Open

#3514 aperta il 16 dic 2016

Vedi su GitHub
 (1 commento) (1 reazione) (0 assegnatari)Go (2725 fork)batch import
help wantedkind/testtopic/commands:addtopic/repo

Metriche repository

Star
 (13.906 star)
Metriche merge PR
 (Merge medio 4g 2h) (28 PR mergiate in 30 g)

Descrizione

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

Guida contributor