sapling/eden/mononoke
Stefan Filip c8aaece37b segmented_changelog: add MismatchedHeadsError
Summary:
This error occurs when the client sends us a set of heads that we cannot match.
For example when the client forces a commit in the master group; this was
possible with revlogs but should be a bug with Segmented Changelog. This can
also happen when master moves backwards, clients and server have multiple heads
then the server reseeds.

Clients that get this error should reclone.

Reviewed By: quark-zju

Differential Revision: D27786602

fbshipit-source-id: 9854ccee929ae0a845236ebd83ed68158c93fc7a
2021-04-20 20:20:24 -07:00
..
alpn autocargo v1: changes to match autocargo v2 generation results. 2021-02-19 11:03:55 -08:00
benchmarks mononoke/changesets: add RendezVousConnection 2021-04-16 10:27:44 -07:00
blobimport_lib mononoke: move create bonsai changeset hook to blobrepo_hg 2021-04-19 09:00:11 -07:00
blobrepo third-party/rust: Enable serde feature for uuid crate 2021-04-19 13:34:59 -07:00
blobrepo_utils third-party/rust: update futures 2021-03-04 06:42:55 -08:00
blobstore Implement a baseline dumb packer 2021-04-20 12:45:08 -07:00
blobstore_sync_queue third-party/rust: Enable serde feature for uuid crate 2021-04-19 13:34:59 -07: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 mononoke/rendezvous: use in-flight connection count to decide when to batch 2021-04-16 10:27:44 -07:00
bonsai_svnrev_mapping blobrepo: convert to facet container 2021-03-25 07:34:49 -07:00
bookmarks mononoke: add filenodes to hg warmers 2021-04-20 10:17:29 -07:00
bulkops mononoke: initialize loggers, config, caching, tunables & runtime in MononokeMatches 2021-04-16 10:27:43 -07:00
cache_warmup third-party/rust: update futures 2021-03-04 06:42:55 -08:00
changesets mononoke/changesets: add RendezVousConnection 2021-04-16 10:27:44 -07:00
cmdlib mononoke/rendezvous: use in-flight connection count to decide when to batch 2021-04-16 10:27:44 -07:00
cmds Implement a baseline dumb packer 2021-04-20 12:45:08 -07:00
commit_rewriting mononoke: remove parse_caching 2021-04-16 10:27:43 -07:00
common mononoke/rendezvous: use in-flight connection count to decide when to batch 2021-04-16 10:27:44 -07:00
derived_data mononoke: remove all trivial usage of async-unit 2021-04-07 07:26:57 -07:00
edenapi_server mononoke: use MononokeEnvironment in RepoFactory 2021-04-16 10:27:43 -07:00
edenapi_service edenapi: send hash-to-location errors to client 2021-04-20 20:20:24 -07:00
fastreplay mononoke: copy bonsai changeset from prod repo to backup repo if they don't match 2021-04-19 09:00:11 -07:00
filenodes blobrepo: convert to facet container 2021-03-25 07:34:49 -07:00
filestore mononoke/filestore: don't take a chunk when you need 0 bytes from it 2021-04-19 01:25:03 -07:00
git mononoke: use MononokeEnvironment in RepoFactory 2021-04-16 10:27:43 -07:00
gotham_ext quiet certain connection errors when shutting down 2021-04-16 02:26:04 -07:00
hgcli third-party/rust: update futures 2021-03-04 06:42:55 -08:00
hgproto mononoke: fix the build 2021-04-12 05:07:48 -07:00
hook_tailer mononoke: use MononokeEnvironment in RepoFactory 2021-04-16 10:27:43 -07:00
hooks mononoke: Remove external sync logic 2021-04-08 09:17:11 -07:00
lfs_import_lib third-party/rust: update futures 2021-03-04 06:42:55 -08:00
lfs_protocol lfs_protocol: implement Display for Operation 2021-04-14 09:22:28 -07:00
lfs_server mononoke: use MononokeEnvironment in RepoFactory 2021-04-16 10:27:43 -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
megarepo_api/configo_client megarepo_api: introduce a basic configo client 2021-04-19 08:34:12 -07:00
mercurial rust: fix non-literal panic fmt strings 2021-04-09 16:24:33 -07:00
metaconfig mononoke: add backup config to the config 2021-04-19 09:00:11 -07:00
microwave mononoke: use MononokeEnvironment in RepoFactory 2021-04-16 10:27:43 -07:00
mononoke_api segmented_changelog: add MismatchedHeadsError 2021-04-20 20:20:24 -07:00
mononoke_api_hg edenapi: update hash-to-location to discard unknown hashes 2021-04-09 17:10:57 -07:00
mononoke_hg_sync_job mononoke: use MononokeEnvironment in RepoFactory 2021-04-16 10:27:43 -07:00
mononoke_types mononoke_types: add conversions to lfs_protocol types 2021-04-14 01:22:28 -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 mononoke: initialize loggers, config, caching, tunables & runtime in MononokeMatches 2021-04-16 10:27:43 -07:00
permission_checker mononoke: Remove external sync logic 2021-04-08 09:17:11 -07:00
phases mononoke: add public phase warmer 2021-04-16 08:20:48 -07:00
pushrebase Back out "mononoke: pushrebase: save prepushrebase changeset id in bonsai changeset extra" 2021-04-19 09:27:02 -07:00
quiet_stream quiet certain connection errors when shutting down 2021-04-16 02:26:04 -07:00
reachabilityindex mononoke: remove all trivial usage of async-unit 2021-04-07 07:26:57 -07:00
regenerate_hg_filenodes mononoke: initialize loggers, config, caching, tunables & runtime in MononokeMatches 2021-04-16 10:27:43 -07: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: use get_public_raw in getbundle 2021-04-20 10:17:29 -07:00
repo_factory mononoke: return CachedBookmarks 2021-04-19 12:33:25 -07:00
repo_import mononoke: remove parse_caching 2021-04-16 10:27:43 -07:00
revset rust: fix non-literal panic fmt strings 2021-04-09 16:24:33 -07:00
scs_server scs: change megaerpo parts of source_control.thrift 2021-04-19 04:47:43 -07:00
segmented_changelog segmented_changelog: add MismatchedHeadsError 2021-04-20 20:20:24 -07:00
server mononoke: log how manynodes were requested in known call to perf counter 2021-04-20 04:06:54 -07:00
sshrelay third-party/rust: update futures 2021-03-04 06:42:55 -08:00
streaming_clone mononoke: use MononokeEnvironment in RepoFactory 2021-04-16 10:27:43 -07:00
tests edenapi: send hash-to-location errors to client 2021-04-20 20:20:24 -07:00
time_window_counter vfs: introduce AsyncVfs 2021-03-05 21:47:51 -08:00
tunables Back out "mononoke: pushrebase: save prepushrebase changeset id in bonsai changeset extra" 2021-04-19 09:27:02 -07:00
unbundle_replay mononoke: copy bonsai changeset from prod repo to backup repo if they don't match 2021-04-19 09:00:11 -07:00
walker mononoke: prepopulate bonsai hg mappings per walker chunk 2021-04-20 03:00:52 -07:00
Cargo.toml Implement a baseline dumb packer 2021-04-20 12:45:08 -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