sapling/eden/scm/lib/revisionstore
Xavier Deguillard 21cd242dcf revisionstore: add a fallback remote lfs store
Summary:
If the LFS server is down, we are going to retry fetching filenode from the
Mercurial server directly, who is expected to not return a pointer.

Previously, this was achieved by adding a hack into `get_missing`, but since
the function is no longer called during prefetch calls, we cannot rely on it
anymore. Instead, we can wrap the regular remote store and translate all the
StoreKey::Content onto their corresponding hgid keys.

Reviewed By: DurhamG

Differential Revision: D22565604

fbshipit-source-id: 2532a1fc3dfd9ba5600957ed5cf905255cb5b3fd
2020-07-28 10:51:38 -07:00
..
src revisionstore: add a fallback remote lfs store 2020-07-28 10:51:38 -07:00
types eden/scm: split revisionstore into types and rest of logic 2020-04-14 07:50:19 -07:00
Cargo.toml revisionstore: add EdenApiFileStore and EdenApiTreeStore 2020-07-13 17:35:31 -07:00