mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
ce0af2d591
Summary: This updates the virtually_sharded_blobstore to deduplicate puts only if the data being put is actually the data we have put in the past. This is done by keeping track of the hash of things we've put in the presence cache. This has 2 benefits: - This is safer. We only dedupe puts we 100% know succeeded (because this particular instance was the one to attempt the put). - This is creates less surprises, notably it lets us overwrite data in the backing store (if we are writing something different). Reviewed By: StanislavGlebik Differential Revision: D22392809 fbshipit-source-id: d76a49baa9a5749b0fb4865ee1fc1aa5016791bc |
||
---|---|---|
.. | ||
blobstore_stats | ||
cacheblob | ||
chaosblob | ||
delayblob | ||
factory | ||
fileblob | ||
if | ||
logblob | ||
memblob | ||
multiplexedblob | ||
packblob | ||
prefixblob | ||
readonlyblob | ||
redactedblobstore | ||
samplingblob | ||
sqlblob | ||
src | ||
test | ||
throttledblob | ||
virtually_sharded_blobstore | ||
Cargo.toml |