da0feb3fa4
The problem is that it is possible that an inline marking might take minutes for some objects (infrequent, but still possible for state roots and prohibitive if that's a block validation). So we simply track references continuously and rely on the main compaction thread to trigger concurrent marking for all references at opportune moments. Assumption: we can mark references faster than they are created during purge or else we'll never purge anything. |
||
---|---|---|
.. | ||
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 |