ipfs/kubo

Investigate add/pin/gc locking

Open

#3.514 aberto em 16 de dez. de 2016

Ver no GitHub
 (1 comment) (1 reaction) (0 assignees)Go (2.725 forks)batch import
help wantedkind/testtopic/commands:addtopic/repo

Métricas do repositório

Stars
 (13.906 stars)
Métricas de merge de PR
 (Mesclagem média 4d 2h) (28 fundiu PRs em 30d)

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

Guia do colaborador