60dd97c7fc
As pointed out by magik, it is possible to deadlock if the view callback performs a blockstore operation while a Lock is pending. This fixes the issue by optimistically tracking the reference before actually calling the underlying View and limiting the scope of the lock. |
||
---|---|---|
.. | ||
badger | ||
splitstore | ||
api.go | ||
blockstore.go | ||
buffered.go | ||
doc.go | ||
fallback.go | ||
idstore.go | ||
ipfs.go | ||
mem.go | ||
metrics.go | ||
noop.go | ||
sync.go | ||
timed_test.go | ||
timed.go | ||
union_test.go | ||
union.go |