mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 08:18:15 +03:00
498416a53c
Summary: Currently `is_present` makes a blobstores lookup and in case it couldn't determine whether the key exists or not, it checks the sync-queue (in case the key was written recently) and then might check the multiplex stores again, then fails if still unsure. This brings unnecessary complications and makes the multiplex blobstore less reliable. More details in: https://fb.quip.com/wOCeAhGx6Oa1 This diff allows us to get rid of the queue and second store lookups and move the decision-making to the callers. The new logic is under the tunable for the safer rollout. *This diff is safe to land.* Reviewed By: StanislavGlebik Differential Revision: D29428268 fbshipit-source-id: 9fc286ed4290defe16d58b2b9983e3baaf1a3fe4 |
||
---|---|---|
.. | ||
src | ||
tunables-derive | ||
Cargo.toml |