A Scalable, User-Friendly Source Control System.
Go to file
Pavel Aslanov 58713fdb1d make RedactedBlobstore clonable without allocations
Summary:
RedactedBlobstore is a part of `RepoBlobstore` which is the primary blobstore used in mononoke, it is cloned basically everywhere. This change make it clonable without allocations.
- redacted hash table was cloned on every clone of `RedactedBlostore`
- scuba_builder also contain hash table which was cloned on every clone or `RedactedBlobstore`

Reviewed By: krallin

Differential Revision: D16961607

fbshipit-source-id: 59fe56f0395b0184418ed8b709be8ecdefb9f4ce
2019-08-23 07:16:39 -07:00
apiserver mononoke: add hacky list_directory_unodes() method to test unodes 2019-08-22 02:50:59 -07:00
async-compression Apply rustfmt to all rust files 2019-07-10 19:36:32 -07:00
asyncmemo Apply rustfmt to all rust files 2019-07-10 19:36:32 -07:00
benchmark mononoke: rename censorship/blacklisting into a redaction 2019-08-20 04:01:00 -07:00
blobimport_lib/src mononoke: add lfs_import command 2019-08-21 02:33:31 -07:00
blobrepo mononoke: don't swallow "waiting for parents" error 2019-08-22 05:40:29 -07:00
blobrepo_utils mononoke: rename Manifest/Entry to HgManifest/HgEntry 2019-08-20 01:12:49 -07:00
blobstore make RedactedBlobstore clonable without allocations 2019-08-23 07:16:39 -07:00
blobstore_sync_queue mononoke: prepare to remove repo_id from blobstore_sync_queue, remove writes 2019-08-12 05:19:00 -07:00
bonsai_hg_mapping move mercurial related creates to mercurial subdirectory 2019-08-14 04:03:00 -07:00
bonsai_utils mononoke: rename Manifest/Entry to HgManifest/HgEntry 2019-08-20 01:12:49 -07:00
bookmarks rust: Head start on some upcoming warnings 2019-07-12 00:56:44 -07:00
bundle2_resolver Allow pushrebase to work directly on bonsai changesets 2019-08-20 13:25:55 -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: Head start on some upcoming warnings 2019-07-12 00:56:44 -07:00
cmdlib/src mononoke: add create_repo_unredatected to the args helper 2019-08-20 06:19:50 -07:00
cmds mononoke/admin: allow showing filenodes by path + ID 2019-08-22 01:37:02 -07:00
commit_rewriting/synced_commit_mapping Mapping for commit syncing to identify commits by source repo 2019-08-20 13:25:54 -07:00
common mononoke: avoid combinatoric explosion in derived_data framework 2019-07-24 11:55:34 -07:00
derived_data/src use memcache leases in derived data implementation 2019-08-14 04:02:59 -07:00
failure_ext Apply rustfmt to all rust files 2019-07-10 19:36:32 -07:00
filenodes mononoke: bump filenodes memcache again 2019-08-16 05:59:45 -07:00
filestore/src mononoke: use LoadableError in Loadable 2019-08-20 09:14:38 -07:00
futures-ext added bounded_traversal_dag 2019-08-05 05:41:17 -07:00
hgcli Transition fbcode Rust crates to 2018 edition 2019-06-24 13:15:17 -07:00
hgproto Log clienttelemetry data (correlator, hostname, short command) 2019-07-26 03:41:24 -07:00
hook_tailer mononoke: rename censorship/blacklisting into a redaction 2019-08-20 04:01:00 -07:00
hooks mononoke: rename censorship/blacklisting into a redaction 2019-08-20 04:01:00 -07:00
lfs_import_lib/src mononoke: add lfs_import command 2019-08-21 02:33:31 -07:00
manifest mononoke: add hacky list_directory_unodes() method to test unodes 2019-08-22 02:50:59 -07:00
mercurial mononoke/admin: allow showing filenodes by path + ID 2019-08-22 01:37:02 -07:00
metaconfig mononoke: rename censorship/blacklisting into a redaction 2019-08-20 04:01:00 -07:00
mononoke_api/src mononoke_api: move get_content_by_path to legacy module 2019-08-15 05:07:16 -07:00
mononoke_types mononoke: add hacky list_directory_unodes() method to test unodes 2019-08-22 02:50:59 -07:00
netstring rust: Remove extern crate from common/rust 2019-07-10 11:58:48 -07:00
phases mononoke: remove Logger from BlobRepo 2019-07-17 08:31:56 -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 mononoke: improve memory usage on mononoke startup and reduce number of small allocations 2019-07-19 04:30:26 -07:00
ready_state/src Apply rustfmt to all rust files 2019-07-10 19:36:32 -07:00
repo_client mononoke: rename censorship/blacklisting into a redaction 2019-08-20 04:01:00 -07:00
revset mononoke: replace Box::new with boxify() 2019-07-19 01:49:52 -07:00
server mononoke: rename censorship/blacklisting into a redaction 2019-08-20 04:01:00 -07:00
sshrelay Transition fbcode Rust crates to 2018 edition 2019-06-24 13:15:17 -07:00
tests mononoke: Prevent humans from moving specific bookmarks in fbsource 2019-08-22 07:10:37 -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 provide edition in .rustfmt.toml 2019-05-29 19:55:37 -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