A Scalable, User-Friendly Source Control System.
Go to file
Thomas Orozco d0e2311d9e mononoke/lfs_server: gracefully shutdown
Summary: This adds support for gracefully shutting down the LFS Server when SIGINT or SIGTERM is received. This will ensure that we don't close in-flight connections when restarting LFS instances.

Reviewed By: StanislavGlebik

Differential Revision: D17626010

fbshipit-source-id: 32b27e888346cc052a8256a3f7685a9bd60afa46
2019-09-27 05:03:59 -07:00
apiserver add /{repo}/resolve_bookmark/{bookmark} 2019-09-27 02:25:19 -07:00
async-compression Delete lines of the form "use [a-z_]+;" 2019-09-10 15:06:19 -07:00
asyncmemo Apply rustfmt to all rust files 2019-07-10 19:36:32 -07:00
benchmark unodes: move crate to derived_data 2019-09-17 02:49:41 -07:00
blobimport_lib/src move Upload* structs to mercurial crate 2019-09-17 03:12:49 -07:00
blobrepo Add hgchangesets to backfill_derived_data 2019-09-25 01:00:24 -07:00
blobrepo_utils Replace *fbinit::FACEBOOK with #[fbinit::main] 2019-09-13 20:17:29 -07:00
blobstore rust/thrift: Rename rust_thrift runtime library to fbthrift 2019-09-26 20:23:47 -07:00
blobstore_sync_queue Replace *fbinit::FACEBOOK with #[fbinit::main] 2019-09-13 20:17:29 -07:00
bonsai_hg_mapping rust/thrift: Rename rust_thrift runtime library to fbthrift 2019-09-26 20:23:47 -07:00
bonsai_utils Replace *fbinit::FACEBOOK with #[fbinit::main] 2019-09-13 20:17:29 -07:00
bookmarks Replace *fbinit::FACEBOOK with #[fbinit::main] 2019-09-13 20:17:29 -07:00
bundle2_resolver mononoke: add BundleResolverError 2019-09-26 10:18:30 -07:00
bytes-ext rust/thrift: Remove dependency of thrift runtime on folly 2019-07-12 18:09:34 -07:00
cache_warmup/src mononoke: rename Manifest/Entry to HgManifest/HgEntry 2019-08-20 01:12:49 -07:00
changesets rust/thrift: Rename rust_thrift runtime library to fbthrift 2019-09-26 20:23:47 -07:00
cmdlib/src mononoke/lfs_server: gracefully shutdown 2019-09-27 05:03:59 -07:00
cmds Add info logging in statistics_collector tool 2019-09-27 02:22:45 -07:00
commit_rewriting mononoke: add phase preservation to cross-repo commit sync job 2019-09-26 14:47:12 -07:00
common Replace *fbinit::FACEBOOK with #[fbinit::main] 2019-09-13 20:17:29 -07:00
derived_data fsnodes: prefetch content metadata when deriving fsnodes 2019-09-25 05:19:55 -07:00
failure_ext Delete lines of the form "use [a-z_]+;" 2019-09-10 15:06:19 -07:00
filenodes rust/thrift: Rename rust_thrift runtime library to fbthrift 2019-09-26 20:23:47 -07:00
filestore/src Replace *fbinit::FACEBOOK with #[fbinit::main] 2019-09-13 20:17:29 -07:00
futures-ext Delete lines of the form "use [a-z_]+;" 2019-09-10 15:06:19 -07:00
hgcli Replace *fbinit::FACEBOOK with #[fbinit::main] 2019-09-13 20:17:29 -07:00
hgproto Replace *fbinit::FACEBOOK with #[fbinit::main] 2019-09-13 20:17:29 -07:00
hook_tailer mononoke: hook_tailer: Remove comma separated argument parsing 2019-09-17 09:17:22 -07:00
hooks Replace *fbinit::FACEBOOK with #[fbinit::main] 2019-09-13 20:17:29 -07:00
lfs_import_lib/src move blobs loading logic to merucrial/types/blobs 2019-08-27 04:25:53 -07:00
lfs_server/src mononoke/lfs_server: gracefully shutdown 2019-09-27 05:03:59 -07:00
manifest mononoke: move find_new_unodes to ManifestOps from fastlog 2019-09-23 03:15:37 -07:00
mercurial mononoke: use i64 instead of i32 in delta parsing 2019-09-27 03:54:31 -07:00
metaconfig mononoke: verify repoid uniqueness when creating RepoConfigs 2019-09-18 14:33:28 -07:00
mononoke_api/src apiserver: implement SourceControlService file_info 2019-09-25 07:26:46 -07:00
mononoke_types rust/thrift: Rename rust_thrift runtime library to fbthrift 2019-09-26 20:23:47 -07:00
netstring rust: Remove extern crate from common/rust 2019-07-10 11:58:48 -07:00
phases scm/mononoke: convert phases to use std::convert::TryFrom 2019-09-24 09:51:04 -07:00
py_tar_utils move tar_utils.py from update_rust into an open sourceable location 2017-09-14 13:52:23 -07:00
reachabilityindex rust/thrift: Rename rust_thrift runtime library to fbthrift 2019-09-26 20:23:47 -07:00
ready_state/src Delete extern crate lines 2019-09-11 22:01:58 -07:00
repo_client mononoke: add BundleResolverError 2019-09-26 10:18:30 -07:00
revset Replace *fbinit::FACEBOOK with #[fbinit::main] 2019-09-13 20:17:29 -07:00
server mononoke: move function to fetch skiplist 2019-09-22 04:02:00 -07:00
sshrelay Delete extern crate lines 2019-09-11 22:01:58 -07:00
tests add /{repo}/resolve_bookmark/{bookmark} 2019-09-27 02:25:19 -07:00
.gitignore add .gitignore 2018-03-13 11:58:20 -07:00
.rlsconfig mononoke: add a .rlsconfig 2019-07-04 02:00:09 -07:00
.travis.yml Add travis-CI integration by adding .travis.yml file. 2018-07-26 10:09:32 -07:00
Cargo.toml mononoke: rename crates to contain underscores instead of dashes 2019-03-06 07:18:28 -08:00
CONTRIBUTING.md Initial commit 2017-07-27 18:00:19 -07:00
LICENSE Initial commit 2017-07-27 18:00:19 -07:00
packman.yml mononoke: add mononoke_exec helper script 2019-06-14 03:59:58 -07:00
README.md mononoke: simple useless change 2019-05-21 12:25:10 -07:00
rustfmt.toml Get rustfmt/rls working in fbcode again. 2019-09-19 18:06:23 -07: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 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