sapling/eden/integration
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
..
fsck test: verify that EdenFS can be started in the fsck tests 2021-07-26 20:07:19 -07:00
helpers Log how long it took for eden to start 2021-04-01 10:32:18 -07:00
hg make hg inform edenfs of newly created root manifests 2021-07-29 10:01:02 -07:00
lib set locale in hg env in integration tests 2021-07-23 10:22:16 -07:00
snapshot test: verify that EdenFS can be started in the fsck tests 2021-07-26 20:07:19 -07:00
basic_test.py cli: remove the repo on edenfsctl remove 2020-08-13 08:28:45 -07:00
casing_test.py inodes: fix casing issue on Windows 2020-06-24 18:59:16 -07:00
chown_test.py replace a bunch of pyre-fixme comments with pyre-ignoree 2020-02-24 18:55:19 -08:00
clone_test.py Let eden cli support RE-CAS store 2021-07-20 18:50:03 -07:00
CMakeLists.txt Deleting failing eden systemd_fixture_test 2020-09-01 22:39:10 -07:00
config_test.py rename eden.thrift Python module to eden.thrift.legacy 2020-06-10 19:29:42 -07:00
corrupt_overlay_test.py nfs: run custom integration tests on nfs 2021-05-12 15:01:08 -07:00
debug_getpath_test.py test: unbreak test_getpath_unlinked_inode on NFS 2021-05-26 19:17:11 -07:00
debug_test.py implement debugInodeStatus with traverseObservedInodes 2020-11-02 13:52:37 -08:00
doteden_test.py Add annotations to eden/integration/doteden_test.py 2021-03-12 09:57:26 -08:00
edenclient_test.py integration: use clone method from EdenFS object 2021-05-26 19:17:11 -07:00
fsck_test.py Changing eden/Eden/edenfs/Edenfs in the help and other user visible texts to EdenFS 2021-07-06 12:17:20 -07:00
glob_test.py add eden glob command 2021-02-23 19:58:03 -08:00
health_test.py Changing eden/Eden/edenfs/Edenfs in the help and other user visible texts to EdenFS 2021-07-06 12:17:20 -07:00
help_test.py run linter in eden/integration 2021-01-25 16:13:54 -08:00
info_test.py remove some internal uses of the term 'client' 2020-05-07 22:08:10 -07:00
linux_cgroup_test.py suppress errors in fbcode/eden - batch 1 2021-05-04 15:25:14 -07:00
materialized_query_test.py apply upgraded black 21.4b2 formatting to fbsource 2021-05-04 22:16:51 -07:00
mmap_test.py suppress errors in eden - batch 1 2020-05-21 19:32:35 -07:00
mount_test.py make hg inform edenfs of newly created root manifests 2021-07-29 10:01:02 -07:00
nfs_test.py nfs: run most integration tests on edenfs 2021-04-23 13:30:17 -07:00
oexcl_test.py Tidy up license headers 2019-10-11 05:28:23 -07:00
patch_test.py Tidy up license headers 2019-10-11 05:28:23 -07:00
persistence_test.py eden/integration/persistence_test.py 2020-02-24 15:42:45 -08:00
rage_test.py Changing eden/Eden/edenfs/Edenfs in the help and other user visible texts to EdenFS 2021-07-06 12:17:20 -07:00
rc_test.py run linter in eden/integration 2021-01-25 16:13:54 -08:00
redirect_test.py fix redirect list test on Windows 2020-12-08 15:54:48 -08:00
remount_test.py Changing eden/Eden/edenfs/Edenfs in the help and other user visible texts to EdenFS 2021-07-06 12:17:20 -07:00
rename_test.py apply upgraded black 21.4b2 formatting to fbsource 2021-05-04 22:16:51 -07:00
restart_test.py Changing eden/Eden/edenfs/Edenfs in the help and other user visible texts to EdenFS 2021-07-06 12:17:20 -07:00
rocksdb_store_test.py nfs: run custom integration tests on nfs 2021-05-12 15:01:08 -07:00
sed_test.py Tidy up license headers 2019-10-11 05:28:23 -07:00
service_log_test.py integration: split the integration tests 2021-05-19 18:35:25 -07:00
setattr_test.py fix flaky time test by rounding to nearest second 2020-07-27 13:04:13 -07:00
stale_test.py nfs: run custom integration tests on nfs 2021-05-12 15:01:08 -07:00
start_test.py Changing eden/Eden/edenfs/Edenfs in the help and other user visible texts to EdenFS 2021-07-06 12:17:20 -07:00
stats_test.py nfs: run custom integration tests on nfs 2021-05-12 15:01:08 -07:00
stop_test.py run linter in eden/integration 2021-01-25 16:13:54 -08:00
systemd_test.py Changing eden/Eden/edenfs/Edenfs in the help and other user visible texts to EdenFS 2021-07-06 12:17:20 -07:00
takeover_test.py apply upgraded black 21.4b2 formatting to fbsource 2021-05-04 22:16:51 -07:00
thrift_test.py thread ObjectFetchContext write, setattr, fallocate 2021-06-04 14:57:47 -07:00
unicode_test.py nfs: fix non-UTF8 name handling 2021-05-26 14:05:48 -07:00
unixsocket_test.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
unlink_test.py tests: enable unlink_test on Windows 2020-06-19 18:13:20 -07:00
userinfo_test.py apply the integration test case blacklist to some more tests 2020-05-04 11:46:09 -07:00
windows_fsck_test.py introduce basic fsck test cases 2021-05-17 23:38:03 -07:00
xattr_test.py tests: Fix UnusedVariable in xattr_test.py 2021-01-14 01:23:42 -08:00