sapling/eden/fs
Mark Juggurnauth-Thomas 02c0bfc9e3 make hg inform edenfs of newly created root manifests
Summary:
If Mercurial asks EdenFS to update to a commit that it has just created, this
can cause a long delay while EdenFS tries to import the commit.

EdenFS needs to resolve the commit to a root manifest.  It does this via the
import helper, but the import helper won't know about the commit until it is
restarted, which takes a long time.

To fix this, we add an optional "root manifest" parameter to the checkout or
reset parents thrift calls.  This allows the Mercurial client to inform EdenFS
of the root manifest that it already knows about, allowing EdenFS to skip this
step.

Reviewed By: chadaustin

Differential Revision: D29845604

fbshipit-source-id: 61736d84971cd2dd9a8fdaa29a1578386246e4bf
2021-07-29 10:01:02 -07:00
..
benchharness config: namespace facebook::eden 2021-06-08 19:29:37 -07:00
benchmarks Back out "pool eden thrift connections" 2021-06-21 20:52:57 -07:00
cli make hg inform edenfs of newly created root manifests 2021-07-29 10:01:02 -07:00
cli_rs Resolve bare_trait_objects warnings in path components 2021-05-19 22:03:56 -07:00
config allow separate batch sizes in HgImportRequestQueue 2021-07-16 15:01:58 -07:00
docs introduce a variable-width RootId type that identifies the root of an EdenFS checkout's contents 2021-06-07 17:25:31 -07:00
fuse fix broken privhelper tests 2021-07-14 08:54:52 -07:00
inodes inodes: remove unused statement 2021-07-28 19:00:52 -07:00
journal Remove direct uses of gmock.h 2021-07-07 13:32:31 -07:00
model model: namespace facebook::eden 2021-06-08 19:29:37 -07:00
monitor migrate from LockedPtr::getUniqueLock 2021-06-13 18:53:58 -07:00
nfs introduce NfsRequsetContext 2021-07-26 16:04:03 -07:00
notifications notifications: support Windows 2020-11-11 09:37:56 -08:00
prjfs Fix unused parameters on PrjfsChannel.cpp 2021-05-25 19:45:22 -07:00
py Backout py3 only changes from windows_thrift 2021-04-22 10:29:49 -07:00
rocksdb Remove dead includes in eden 2019-10-11 16:45:01 -07:00
scripts move eden/scripts/ into eden/fs/ 2020-11-04 18:29:49 -08:00
service make hg inform edenfs of newly created root manifests 2021-07-29 10:01:02 -07:00
sqlite overlay: use PersistentSqliteStatement in TreeOverlayStore 2021-03-15 12:01:48 -07:00
store make hg inform edenfs of newly created root manifests 2021-07-29 10:01:02 -07:00
takeover Remove direct uses of gmock.h 2021-07-07 13:32:31 -07:00
telemetry introduce NfsRequsetContext 2021-07-26 16:04:03 -07:00
testharness create ActivityRecorder boilerplate and thread it to EdenMount 2021-07-23 12:32:25 -07:00
third-party fs: update fuse_kernel_linux.h 2021-03-17 20:55:43 -07:00
utils synchronize getClient in scs metadata importer 2021-07-29 09:56:24 -07:00
CMakeLists.txt nfs: make it compile with getdeps builds 2021-02-03 17:54:54 -08:00