ipfs/kubo

Investigate add/pin/gc locking

Open

#3,514 建立於 2016年12月16日

在 GitHub 查看
 (1 留言) (1 反應) (0 負責人)Go (2,725 fork)batch import
help wantedkind/testtopic/commands:addtopic/repo

倉庫指標

Star
 (13,906 star)
PR 合併指標
 (平均合併 4天 2小時) (30 天內合併 28 個 PR)

描述

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

貢獻者指南