mirror of https://github.com/perkeep/perkeep.git
![]() 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 |
||
---|---|---|
.. | ||
.gitignore | ||
camtool.go | ||
claims.go | ||
dbinit.go | ||
debug.go | ||
describe.go | ||
disco.go | ||
doc.go | ||
dp_idx_rebuild.go | ||
dumpconfig.go | ||
env.go | ||
exif.go | ||
googinit.go | ||
index.go | ||
list.go | ||
makestatic.go | ||
mime.go | ||
packblobs.go | ||
search.go | ||
searchdoc.go | ||
splits.go | ||
sqlite_cond.go | ||
sync.go | ||
sync_test.go |