sapling/eden/mononoke
Stefan Filip f16a99af95 segmented_changelog: add IdMapVersion check to VersionStore
Summary:
We want to protect against races where we may have multiple writers with
different IdMap versions. We want IdMapVersions to be monotonous increasing.

The common race scenario is between tailers and seeder. We may have a tailer
that starts to updates while a seeder writes a version with a new idmap. The
tailer may try to write a version that has an old version of the idmap. We want
the tailer to fail in this case.

Reviewed By: krallin

Differential Revision: D27210035

fbshipit-source-id: 168c7c6f25622587071337df1172a12b799e0285
2021-03-31 10:29:36 -07:00
..
alpn autocargo v1: changes to match autocargo v2 generation results. 2021-02-19 11:03:55 -08:00
benchmarks test_repo_factory: use test factory for derived data tests 2021-03-25 07:34:49 -07:00
blobimport_lib blobrepo: convert to facet container 2021-03-25 07:34:49 -07:00
blobrepo blobrepo_factory: delete TestRepoBuilder 2021-03-25 07:34:51 -07:00
blobrepo_utils third-party/rust: update futures 2021-03-04 06:42:55 -08:00
blobstore Explicitly list all the known Value types in SQLBlob's special type 2021-03-29 12:48:14 -07:00
blobstore_sync_queue vfs: introduce AsyncVfs 2021-03-05 21:47:51 -08:00
bonsai_git_mapping test_repo_factory: use test factory for hooks and mapping tests 2021-03-25 07:34:49 -07:00
bonsai_globalrev_mapping test_repo_factory: use test factory for hooks and mapping tests 2021-03-25 07:34:49 -07:00
bonsai_hg_mapping blobrepo: convert to facet container 2021-03-25 07:34:49 -07:00
bonsai_svnrev_mapping blobrepo: convert to facet container 2021-03-25 07:34:49 -07:00
bookmarks bookmarks: remove dangerous overrides 2021-03-25 10:46:07 -07:00
bulkops bounded_traversal: require futures to be boxed 2021-03-12 08:12:57 -08:00
cache_warmup third-party/rust: update futures 2021-03-04 06:42:55 -08:00
changesets blobrepo: convert to facet container 2021-03-25 07:34:49 -07:00
cmdlib Add support for backup-repo-name argument 2021-03-25 06:45:25 -07:00
cmds mononoke: admin: Update help text of bonsai-fetch 2021-03-31 09:42:11 -07:00
commit_rewriting commit_rewriting: remove dangerous_override 2021-03-25 10:46:07 -07:00
common mononoke: Back out "mononoke/mysql: group ODS counters by shardmap" 2021-03-26 01:01:37 -07:00
derived_data derived_data: remove dangerous_override in tests 2021-03-25 10:46:07 -07:00
edenapi_server third-party/rust: update futures 2021-03-04 06:42:55 -08:00
edenapi_service Use Bookmark request and response type in endpoint 2021-03-29 18:40:00 -07:00
fastreplay third-party/rust: update futures 2021-03-04 06:42:55 -08:00
filenodes blobrepo: convert to facet container 2021-03-25 07:34:49 -07:00
filestore blobrepo: convert to facet container 2021-03-25 07:34:49 -07:00
git blobrepo: convert to facet container 2021-03-25 07:34:49 -07:00
gotham_ext mononoke/lfs_server: add support for Range 2021-03-23 03:20:35 -07:00
hgcli third-party/rust: update futures 2021-03-04 06:42:55 -08:00
hgproto mononoke: verify bonsai changesets during replay 2021-03-29 12:39:19 -07:00
hook_tailer third-party/rust: update futures 2021-03-04 06:42:55 -08:00
hooks test_repo_factory: use test factory for hooks and mapping tests 2021-03-25 07:34:49 -07:00
lfs_import_lib third-party/rust: update futures 2021-03-04 06:42:55 -08:00
lfs_protocol Format fbsource with rustfmt-2.0.0-rc.2 2021-02-27 18:46:09 -08:00
lfs_server test_repo_factory: use test factory for lfs_server tests 2021-03-25 07:34:50 -07:00
load_limiter vfs: introduce AsyncVfs 2021-03-05 21:47:51 -08:00
manifest bounded_traversal: require futures to be boxed 2021-03-12 08:12:57 -08:00
mercurial blobrepo: convert to facet container 2021-03-25 07:34:49 -07:00
metaconfig blobrepo: convert to facet container 2021-03-25 07:34:49 -07:00
microwave blobrepo: convert to facet container 2021-03-25 07:34:49 -07:00
mononoke_api test_repo_factory: use test factory for mononoke_api tests 2021-03-25 07:34:49 -07:00
mononoke_api_hg test_repo_factory: use test factory for mononoke_api tests 2021-03-25 07:34:49 -07:00
mononoke_hg_sync_job mononoke: send bonsai to hg mapping while running hg sync 2021-03-29 12:39:19 -07:00
mononoke_types mononoke: use Bytes for ContentChunk thrift 2021-03-26 04:10:19 -07:00
mutable_counters third-party/rust: update futures 2021-03-04 06:42:55 -08:00
newfilenodes mononoke/newfilenodes: sort filenode rows prior to insertion 2021-03-24 13:55:01 -07:00
observability autocargo v1: reformating of oss-dependencies, workspace and patch sections and thrift files to match v2 2021-02-25 15:10:56 -08:00
permission_checker mononoke: make it possible to allow moving a bookmark for a hipster group 2021-03-18 13:05:11 -07:00
phases blobrepo: convert to facet container 2021-03-25 07:34:49 -07:00
pushrebase pushrebase: remove dangerous_override 2021-03-25 10:46:07 -07:00
reachabilityindex test_repo_factory: use test factory for remaining tests 2021-03-25 07:34:51 -07:00
regenerate_hg_filenodes third-party/rust: update futures 2021-03-04 06:42:55 -08:00
repo_attributes repo_derived_data: add new repo attribute to encapsulate derived data 2021-03-22 07:26:48 -07:00
repo_client mononoke: verify bonsai changesets during replay 2021-03-29 12:39:19 -07:00
repo_factory/test_repo_factory derived_data: remove dangerous_override in tests 2021-03-25 10:46:07 -07:00
repo_import test_repo_factory: use test factory for repo_client and repo_import tests 2021-03-25 07:34:50 -07:00
revset vfs: introduce AsyncVfs 2021-03-05 21:47:51 -08:00
scs_server scs_server: log when requests are cancelled 2021-03-16 13:04:32 -07:00
segmented_changelog segmented_changelog: add IdMapVersion check to VersionStore 2021-03-31 10:29:36 -07:00
server bump region2region QPS 2021-03-22 10:12:43 -07:00
sshrelay third-party/rust: update futures 2021-03-04 06:42:55 -08:00
streaming_clone mononoke: init cachelib only once and add more logging 2021-03-16 06:20:00 -07:00
tests mononoke: add hg filenode hash validation to walker 2021-03-31 03:21:49 -07:00
time_window_counter vfs: introduce AsyncVfs 2021-03-05 21:47:51 -08:00
tunables Use Manifold direct reads and weak consistency 2021-03-24 03:56:25 -07:00
unbundle_replay blobrepo: make attributes real members again 2021-03-22 07:26:47 -07:00
walker mononoke: add hg filenode hash validation to walker 2021-03-31 03:21:49 -07:00
Cargo.toml Daily common/rust/cargo_from_buck/bin/autocargo 2021-03-31 02:34:06 -07: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