6753522810
Summary: This updates the mononoke server code to support booting without myrouter. This required 2 changes: - There were a few callsites where we didn't handle not having a myrouter port. - In our function that waits for myrouter, we were failing if we had no myrouter port, but that's not desirable: if we don't have a myrouter port, we simply don't need to wait. Arguably, This isn't 100% complete yet. Notably, RepoReadWriteStatus still requires myrouter. I'm planning to create a bootcamp task for this since it's not blocking my work adding integration tests, but would be a nice to have. Speaking of further refactor, it'd be nice if we supported a `SqlConstructors::with_xdb` function that did this matching for us so we didn't have to duplicate it all over the place. I'm also planning to bootcamp this. Reviewed By: farnz Differential Revision: D15855431 fbshipit-source-id: 96187d887c467abd48ac605c28b826d8bf09862b |
||
---|---|---|
apiserver | ||
async-compression | ||
asyncmemo | ||
benchmark | ||
blobimport_lib/src | ||
blobrepo | ||
blobrepo_utils | ||
blobstore | ||
blobstore_sync_queue | ||
bonsai_hg_mapping | ||
bonsai_utils | ||
bookmarks | ||
bundle2_resolver | ||
bytes-ext | ||
cache_warmup/src | ||
changesets | ||
cmdlib/src | ||
cmds | ||
common | ||
failure_ext | ||
filenodes | ||
futures-ext | ||
hgcli | ||
hgproto | ||
hook_tailer | ||
hooks | ||
mercurial | ||
mercurial_bundles | ||
mercurial_types | ||
metaconfig | ||
mononoke_api/src | ||
mononoke_types | ||
netstring | ||
phases | ||
py_tar_utils | ||
reachabilityindex | ||
ready_state/src | ||
repo_client | ||
revset | ||
server | ||
sshrelay | ||
tests | ||
.gitignore | ||
.travis.yml | ||
Cargo.toml | ||
CONTRIBUTING.md | ||
LICENSE | ||
packman.yml | ||
README.md | ||
rustfmt.toml |
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 such as Eden.
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