sapling/eden/mononoke
Thomas Orozco 2d04773c23 mononoke/hg_sync_job: update Globalrevs in hgsql
Summary:
This updates the hg_sync_job to update Globalrevs in hgsql before attempting to
sync bundles. This means that if we're syncing successfully, hg is in sync with
Mononoke, and if we fail (which should be very uncommon to begin with!), hg
might skip a little bit ahead, but that's OK.

This only makes sense when generating bundles — when doing pushrebase, hg would
be updating its own globalrevs.

Reviewed By: StanislavGlebik

Differential Revision: D20159262

fbshipit-source-id: 6736f8592682da1001c7c9c4c9444462b71913c2
2020-03-02 08:24:16 -08:00
..
apiserver mononoke: update internals to Bytes 0.5 2020-02-27 08:08:28 -08:00
benchmark mononoke/filenodes: Remove path from FilenodeInfo 2020-02-27 12:34:21 -08:00
blobimport_lib/src make BonsaiGitMapping repo-specific 2020-02-27 08:05:13 -08:00
blobrepo RFC: mononoke: introduce unodes v2 2020-03-02 05:27:31 -08:00
blobrepo_utils mononoke (+ rust/shed/async_unit): update async_unit to expect async fn's 2020-02-18 01:55:00 -08:00
blobstore mononoke/cachelob: remove Memcache blob write leases 2020-02-28 01:59:36 -08:00
blobstore_sync_queue mononoke/blobstore_sync_queue: delete in smaller batches 2020-02-20 12:26:50 -08:00
bonsai_git_mapping make BonsaiGitMapping repo-specific 2020-02-27 08:05:13 -08:00
bonsai_globalrev_mapping mononoke: add lease renewing to derived data 2020-02-25 09:22:46 -08:00
bonsai_hg_mapping mononoke: convert places that talk to Memcache to Bytes 0.5 2020-02-26 03:30:47 -08:00
bookmarks mononoke: fix logging in bookmarks 2020-02-28 13:24:29 -08:00
cache_warmup/src derived_data: add DeriveError for when derivation is disabled 2020-02-19 09:28:09 -08:00
changesets mononoke: convert places that talk to Memcache to Bytes 0.5 2020-02-26 03:30:47 -08:00
cmdlib mononoke: switch to new filenodes implementation 2020-02-27 12:34:20 -08:00
cmds Push compat down deeper into subcommands & make subcommand functions async in eden/mononoke/cmds/admin/main.rs 2020-02-27 12:39:28 -08:00
commit_rewriting mononoke: add lease renewing to derived data 2020-02-25 09:22:46 -08:00
common mononoke/newfilenodes: introduce remote caching 2020-02-27 12:34:19 -08:00
derived_data RFC: mononoke: introduce unodes v2 2020-03-02 05:27:31 -08:00
edenapi_server/src edenapi_server: move handlers to submodule 2020-02-19 09:59:14 -08:00
fastreplay/src mononoke: include DB config in multiplexed blobstore configuration 2020-02-24 11:54:45 -08:00
filenodes mononoke/filenodes: Remove path from FilenodeInfo 2020-02-27 12:34:21 -08:00
filestore/src mononoke: update internals to Bytes 0.5 2020-02-27 08:08:28 -08:00
git mononoke: update internals to Bytes 0.5 2020-02-27 08:08:28 -08:00
gotham_ext/src gotham_ext: move TLS-related middleware into gotham_ext 2020-02-13 17:47:34 -08:00
hgcli Manual synchronization of fbcode/eden and facebookexperimental/eden 2020-02-11 11:42:43 +01:00
hgproto rust: Begin upgrading to bytes 0.5 2020-02-18 21:20:09 -08:00
hook_tailer Manual synchronization of fbcode/eden and facebookexperimental/eden 2020-02-11 11:42:43 +01:00
hooks mononoke: defer hook loading 2020-02-28 02:03:07 -08:00
lfs_import_lib/src mononoke: update internals to Bytes 0.5 2020-02-27 08:08:28 -08:00
lfs_protocol autocargo: Strip line comments 2020-02-26 16:31:52 -08:00
lfs_server/src mononoke: update internals to Bytes 0.5 2020-02-27 08:08:28 -08:00
manifest Manual synchronization of fbcode/eden and facebookexperimental/eden 2020-02-11 11:42:43 +01:00
mercurial mononoke/mercurial: add tests for metadata extraction 2020-02-28 10:54:04 -08:00
metaconfig RFC: mononoke: introduce unodes v2 2020-03-02 05:27:31 -08:00
mononoke_api/src mononoke: update internals to Bytes 0.5 2020-02-27 08:08:28 -08:00
mononoke_types RFC: mononoke: introduce unodes v2 2020-03-02 05:27:31 -08:00
newfilenodes mononoke/newfilenodes: use for for_sharded_connection() 2020-02-28 04:53:03 -08:00
phases mononoke (+ rust/shed/async_unit): update async_unit to expect async fn's 2020-02-18 01:55:00 -08:00
pushrebase/src mononoke: update internals to Bytes 0.5 2020-02-27 08:08:28 -08:00
reachabilityindex mononoke: update internals to Bytes 0.5 2020-02-27 08:08:28 -08:00
repo_client mononoke: add some perf counters for hydrated getbundle responses 2020-02-28 08:30:43 -08:00
revset mononoke (+ rust/shed/async_unit): update async_unit to expect async fn's 2020-02-18 01:55:00 -08:00
scs_server/src mononoke: update internals to Bytes 0.5 2020-02-27 08:08:28 -08:00
segmented_changelog/src mononoke (+ rust/shed/async_unit): update async_unit to expect async fn's 2020-02-18 01:55:00 -08:00
server mononoke: add some perf counters for hydrated getbundle responses 2020-02-28 08:30:43 -08:00
sshrelay autocargo: Strip line comments 2020-02-26 16:31:52 -08:00
tests mononoke/hg_sync_job: update Globalrevs in hgsql 2020-03-02 08:24:16 -08:00
walker/src mononoke: walker: log the source node when validating 2020-03-02 02:29:34 -08:00
Cargo.toml autocargo: Strip line comments 2020-02-26 16:31:52 -08:00
README.md mononoke: add README.md and the missing pieces for supporting cargo (#13) 2020-02-13 00:12:36 -08:00

Mononoke

Mononoke is a next-generation server for the Mercurial source control system, meant to scale up to accepting thousands of commits every hour across millions of files. It is primarily written in the Rust programming language.

Caveat Emptor

Mononoke is still in early stages of development. We are making it available now because we plan to start making references to it from our other open source projects.

The version that we provide on GitHub does not build yet.

This is because the code is exported verbatim from an internal repository at Facebook, and not all of the scaffolding from our internal repository can be easily extracted. The key areas where we need to shore things up are:

  • Full support for a standard cargo build.
  • Open source replacements for Facebook-internal services (blob store, logging etc).

The current goal is to get Mononoke working on Linux. Other Unix-like OSes may be supported in the future