sapling/eden/mononoke/tunables
Aida Getoeva 498416a53c mononoke/blobstore: single lookup for is_present multiplex
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
2021-07-05 11:13:18 -07:00
..
src mononoke/blobstore: single lookup for is_present multiplex 2021-07-05 11:13:18 -07:00
tunables-derive third-party: patch os_info to properly support Centos Stream 2021-06-25 21:07:33 -07:00
Cargo.toml third-party: patch os_info to properly support Centos Stream 2021-06-25 21:07:33 -07:00