perkeep/cmd
Brad Fitzpatrick e93e4f3822 Fix deadlock in search/index.
The describe requests were launching a storm of RLocks which weren't
safe in the presence of goroutines trying to acquire write locks.

Instead, make the corpus locking the responsibility of the caller and
add Lock/Unlock/RLock/RUnlock methods to the index and move locking up
a level.

This also adds a fair bit of context.Context plumbing which was used
in earlier debugging.

Fixes camlistore/camlistore#709

Change-Id: I8d7254d1e1da541f8c080d62f5408aac807fd3b1
2016-04-22 14:57:10 -07:00
..
camdeploy add canonical import paths 2016-03-13 19:57:14 -07:00
camget add canonical import paths 2016-03-13 19:57:14 -07:00
cammount Update bazil.org/fuse 2016-04-09 12:40:02 -07:00
camput Move remaining stuff in third_party/* to vendor/* 2016-04-20 16:49:15 -07:00
camtool Fix deadlock in search/index. 2016-04-22 14:57:10 -07:00