mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 23:38:50 +03:00
fe557ace7c
Summary: There was a bug in BlobCache where, if you had an interest handle to a blob, but that blob was evicted anyway and then something else caused it to be reloaded, dropping your interest handle would cause the blob to be incorrectly evicted since the reference counts were no longer compatible. Add a version to cache items and only decrement the reference count on an item if the interest handle and item agree. Reviewed By: strager Differential Revision: D13405144 fbshipit-source-id: aee052bf777e7225551c3ae2b8b69a99f4f77691 |
||
---|---|---|
.. | ||
benchharness | ||
config | ||
fuse | ||
inodes | ||
journal | ||
model | ||
rocksdb | ||
service | ||
sqlite | ||
store | ||
takeover | ||
testharness | ||
tracing | ||
utils | ||
CMakeLists.txt |