sapling/eden
Xavier Deguillard 185bc0f437 revisionstore: add an LfsMultiplexer store
Summary:
With this new store, blobs will be transparently written to either an LFS
store, or a non-LFS one, depending on their size.

Initially, and as long as getpackv2 is supported, we also need to support
parsing lfs pointer data that the server is sending and write these to the lfs
pointer store. This code is very adhoc and does manual parsing of the pointer
data, definitively not great, suggestion for a simple and better solution is
welcome :).

From a migration standpoint, the read-only LFS stores are added to the
ContentStore, this allows blobs written in it to be readable at all time even
when `remotefilelog.lfs` isn't set. The code will effecitvely be dormant for a
while until the option is turned on, if we need to disable it, the dormant code
will still be able to read all the blobs written to disk. This forces us to
deploy a release that contains this code to stable first, before setting
`remotefilelog.lfs`.

Reviewed By: quark-zju

Differential Revision: D19986878

fbshipit-source-id: 260f5a542d52e748c0c703bfa7bb8ffac0e7b388
2020-03-10 18:14:54 -07:00
..
benchmarks enable and fix more warnings 2019-12-20 16:14:17 -08:00
cli cli logging set -> list for JsonTelemetryLogger 2020-03-10 09:57:03 -07:00
docs documentation for paths 2020-01-17 12:08:42 -08:00
fs Cleaning up second definitions of dtype_t 2020-03-10 12:27:51 -07:00
integration add a counter to report the number of mount failures during startup 2020-03-09 17:41:34 -07:00
locale add a copyright header to glibc_en.po 2019-04-26 14:38:27 -07:00
mononoke mononoke: log reponame to derived data scuba table 2020-03-10 11:42:31 -07:00
py update the CLI to handle old EdenFS instances without getDaemonInfo() 2020-03-03 12:15:26 -08:00
scm revisionstore: add an LfsMultiplexer store 2020-03-10 18:14:54 -07:00
scripts Tidy up license headers 2019-10-11 05:28:23 -07:00
test_support eden: remove hypothesis test bits 2020-01-23 11:37:27 -08:00
test-data enable treemanifest in snapshots 2019-08-28 18:46:03 -07:00
third-party fix some macOS build warnings 2020-01-23 17:37:39 -08:00
win flip EDEN_WIN_NOMONONOKE to EDEN_HAVE_MONONOKE 2019-08-27 17:04:19 -07:00
.gitignore eden: wire up mac contbuild 2019-02-05 21:52:30 -08:00
Eden.project.toml Eden.project.toml file for Nuclide 2018-04-26 11:05:23 -07:00