Commit Graph

483 Commits

Author SHA1 Message Date
Stanislau Hlebik
129d4fa88f mononoke: support multiple directories in mononoke_admin rsync
Summary: It's useful to be able to copy multiple dirs at once

Reviewed By: markbt

Differential Revision: D29358375

fbshipit-source-id: f1cc351195cc2c19de36a1b6936b598e314848c3
2021-06-24 11:44:34 -07:00
Stanislau Hlebik
1044dd545d mononoke: support mononoke admin convert for git
Summary:
Previously only conversion between bonsai and hg was supported. Let's add git
as well.

Obviously you can use `scsc lookup`, but mononoke_admin can be useful for repos
that are not on scs yet.

Reviewed By: farnz

Differential Revision: D29360793

fbshipit-source-id: eb2b71eab192b3456ba3d580f7eb8c4a85b2fd1d
2021-06-24 07:32:51 -07:00
Mark Juggurnauth-Thomas
3c9bf458be metaconfig: add ephemeral blobstore config
Summary:
Extend metaconfig to include configuration for the ephemeral blobstore.

An ephemeral blobstore is optional: repos without an ephemeral blobstore cannot
store ephemeral commits or snapshots.

Reviewed By: StanislavGlebik

Differential Revision: D29067719

fbshipit-source-id: fe7d42173d5c34a937c99c72f4b2bd08af503889
2021-06-24 04:13:58 -07:00
Andrew Gallagher
05cf7acd77 object-0.25.3: patch SHT_GNU_versym entsize fix
Summary:
Pull in a patch which fixes writing out an incorrect entsize for the
`SHT_GNU_versym` section:
ddbae72082

Reviewed By: igorsugak

Differential Revision: D29248208

fbshipit-source-id: 90bbaa179df79e817e3eaa846ecfef5c1236073a
2021-06-21 09:31:49 -07:00
Yan Soares Couto
f0a287580e Add wrapper around redacted blobs
Summary:
For context and high level goal, see: https://fb.quip.com/8zOkAQRiXGQ3

Instead of using `HashMap<String, RedactedMetadata>` everywhere, let's use a `Arc<RedactedBlobs>` object from which we can instead borrow a map. The borrow function is async because it will need to be when we're fetching from configerator, as it may need to rebuild the redaction data.

Wrapping it in `Arc` will also makes it re-use the same across repos, I believe right now it's cloned everywhere.

In later diffs I'll use this enum to add a new way to fetch configs.

Reviewed By: markbt

Differential Revision: D28935506

fbshipit-source-id: befa96810ee7ebb9487f99f9e769a945981b58ed
2021-06-21 08:42:16 -07:00
Simon Farnsworth
23cd985c98 Add a tool to check working copy equivalence between git and Mononoke
Summary:
We're doing imports for AOSP megarepo work, and want a tool to quickly check that our imports are what we expect.

Use libgit2 and a simple LFS parser to read git SHA-256 entries, and FSNodes to get the Mononoke entries to match

Reviewed By: StanislavGlebik

Differential Revision: D29169743

fbshipit-source-id: 1ef1e2c780b8742c7fa5f15f9ee01bc0481a6543
2021-06-21 07:35:31 -07:00
Andres Suarez
845128485c Update bytecount
Reviewed By: dtolnay

Differential Revision: D29213998

fbshipit-source-id: 92e7a9de9e3d03f04b92a77e16fa0e37428fe2fb
2021-06-17 19:50:32 -07:00
Davide Cavalca
b82c5672fc Update several rust crate versions
Summary: Update versions for several of the crates we depend on.

Reviewed By: danobi

Differential Revision: D29165283

fbshipit-source-id: baaa9fa106b7dad000f93d2eefa95867ac46e5a1
2021-06-17 16:38:19 -07:00
Thomas Orozco
b170b80412 mononoke: add an --oncall argument to megarepo bind commits
Summary:
Like it says in the title. Let's allow specifying an oncall here since that
oncall will be tasked with retroactive review of the commit.

Reviewed By: StanislavGlebik

Differential Revision: D29162534

fbshipit-source-id: 9ed3ac43c38a1120bb16a2f5b5218fdbf80e0d47
2021-06-16 08:50:52 -07:00
CodemodService Bot
4c4dfd45ad Daily common/rust/cargo_from_buck/bin/autocargo
Reviewed By: krallin

Differential Revision: D29158387

fbshipit-source-id: 48a0b590e01083d762bbed2b7e272cbefc72641f
2021-06-16 04:50:15 -07:00
Mark Juggurnauth-Thomas
fb646e5edc blobstore: enumeration ranges are inclusive
Summary:
Manifold enumeration ranges are inclusive.  Update documentation of options that
ultimately feed into this as such.

To avoid future confusion, use Rust's inclusive ranges to initialize these, and
remove the exclusive range option.

The fileblob implementation was actually performing exclusive checks at both
ends, rather than inclusive ones.  Correct this by implementing `RangeBounds`
and using `range.contains` instead.

Reviewed By: liubov-dmitrieva

Differential Revision: D28224481

fbshipit-source-id: 7244588271d7754d6c6820790cbd76574b296d7b
2021-06-15 08:29:31 -07:00
Alex Hornby
4457092322 rust: revert zstd crates
Summary: revert the zstd crates back to previous version

Reviewed By: johansglock

Differential Revision: D29038514

fbshipit-source-id: 3cbc31203052034bca428441d5514557311b86ae
2021-06-11 04:39:54 -07:00
Yan Soares Couto
08ec6737f2 Use constants for args on redaction subcommand
Summary: I'm going to touch these files soon, found this easy improvement to do before.

Reviewed By: StanislavGlebik

Differential Revision: D28993265

fbshipit-source-id: 89fe9ac52f6d99e1b5ce7cb24d949e048226436a
2021-06-10 09:05:42 -07:00
Yan Soares Couto
fbd989375a Build skiplist through InnerRepo on backfill_derived_data
Summary:
Using the previous diff, this diff will now build `InnerRepo` instead of `BlobRepo`, as a way to build `Skiplist` without having to do it "manually" by calling `fetch_skiplist_index`.

See D28877887 for goal

Reviewed By: StanislavGlebik

Differential Revision: D28880352

fbshipit-source-id: 73e05864a0c0ffaba454a27ea521b4d3dc6ee78b
2021-06-09 05:16:13 -07:00
Yan Soares Couto
84a8476d4e Don't use Arc<BlobRepo>, but BlobRepo directly
Summary:
BlobRepo is already easily cloneable (actually holds an arc inside).

This should also make code a little prettier, where we needed to use `(*blob_repo).clone()` instead of just `blob_repo.clone()`.

Reviewed By: StanislavGlebik

Differential Revision: D28930384

fbshipit-source-id: 59f95d10576a3f71808d0d26d36358421673351e
2021-06-09 05:16:13 -07:00
Yan Soares Couto
302131bd5f Allow cli commands to build any "repo object"
Summary:
The important change on this diff is in this file: `eden/mononoke/cmdlib/src/args/mod.rs`

On this diff I change that file's repo-building functions to be able to build both `BlobRepo` and `InnerRepo` (added on D28748221 (e4b6fd3751)). In fact, they are now able to build any facet container that can be built by the `RepoFactory` factory, so each binary can specify their own subset of needed "attributes" and only build those ones.

For now, they're all still using BlobRepo, this diff is only a refactor that enables easily changing the repo attributes you need.

The rest of the diff is mostly giving hints to the compiler, as in several places it couldn't infer it should use `BlobRepo` directly, so I had to add type hints.

## High level goal

This is part of the blobrepo refactoring effort.

I am also doing this in order to:
1. Make sure every place that builds `SkiplistIndex` uses `RepoFactory` for that.
2. Then add a `BlobstoreGetOps` trait for blobstores, and use the factory to feed it to skiplist index, so it can query the blobstore while skipping cache. (see [this thread](https://www.internalfb.com/diff/D28681737 (850a1a41b7)?dst_version_fbid=283910610084973&transaction_fbid=106742464866346))

Reviewed By: StanislavGlebik

Differential Revision: D28877887

fbshipit-source-id: b5e0093449aac734591a19d915b6459b1779360a
2021-06-09 05:16:13 -07:00
Alex Hornby
f89dbebae8 rust: update zstd bindings to 1.5.0
Summary: Update to latest version.  This includes a patch to async-compression crate from [my PR updating it](https://github.com/Nemo157/async-compression/pull/125), I will remove once the crate is released.

Reviewed By: mitrandir77

Differential Revision: D28897019

fbshipit-source-id: 07c72f2880e7f8b85097837d084178c6625e77be
2021-06-08 07:57:29 -07:00
Stanislau Hlebik
5c1c803ffd mononoke: add method to mononoke admin to count underived ancestors
Summary: It can be useful to understand how many ancestors are not derived yet.

Reviewed By: Croohand

Differential Revision: D28902194

fbshipit-source-id: 87c11b3e35ba7f67122990318ff07408c47d4d6c
2021-06-08 00:03:51 -07:00
CodemodService Bot
254d2a37ad Daily common/rust/cargo_from_buck/bin/autocargo
Reviewed By: krallin

Differential Revision: D28928316

fbshipit-source-id: 6da6c9a5321d722a3dfd816b49f3994df98c7471
2021-06-07 02:19:59 -07:00
Egor Tkachenko
47f7da159d Make copy_blobstore_keys tool copy keys between inner blobstores
Summary:
Recently we had an issue with `connectivity-lab` repo where 3 keys P416141335 had different values because of parent ordering P416094337.
Walker can detect difference between keys in the multiplex inner blobstores and repair them, however it doesn't have notion of the copy keys (there isn't concept of source and the target). We have a copy_blobstore_keys tool, which is used for restoring keys from the backup and with small modification it can handle copy between innerstore.

Reviewed By: StanislavGlebik

Differential Revision: D28707364

fbshipit-source-id: 3d5a4f39999623023539b9159fa7310d430f0ee4
2021-06-04 09:27:26 -07:00
Yan Soares Couto
38d8d02f78 Remove --sparse argument on skiplist build
Summary:
D28679419 has landed and the chronos job has been updated, which AFAIK is the only place that used this.

This now removes the `--sparse` argument.

Reviewed By: HarveyHunt

Differential Revision: D28796187

fbshipit-source-id: 277f0b8be4e72aa00b058e09a0044841c067c58f
2021-06-01 07:29:33 -07:00
Yan Soares Couto
4e47e3143f Delete code for building full skip lists
Summary: They are not being used anymore AFAIK, so it's best to get rid of dead code.

Reviewed By: farnz

Differential Revision: D28677902

fbshipit-source-id: a2de5a1ca3908128b57afc07227a46bba0e45b1a
2021-05-26 09:38:10 -07:00
Simon Farnsworth
f125000b2b Do not alter rate limit inside derived data utils
Summary: I'm going to reuse this for AOSP import logic speedups, and I do not want my low QPS limit overridden by a higher QPS limit set for backfilling. Push the rate limiter out

Reviewed By: StanislavGlebik

Differential Revision: D28638180

fbshipit-source-id: ef3a783d4b1993614a146f534337f719958a1f36
2021-05-24 11:43:01 -07:00
Mark Juggurnauth-Thomas
6333939fa7 blame_v2: add "skip past this change" metadata
Summary:
Extend the `blame_v2` format to include metadata about the location in the
parent commit that a blamed line replaces.  This can be used to implement
accurate "skip past this change" in clients.

Most ranges only need the range of lines that the original blame range
replaces.  For ranges that are inserts, the parent range is of zero length and
the offset indicates the line that the range was inserted before.

For renames, we must include the path of the file before the rename, so that
the file can be found in the parent.

For merge commits, if the file is present in more than one parent, then lines
that are introduced in the merge commit itself have multiple possibilities for
the parent range.  We select and record the first parent that contains the file
as the provider of the parent range for these lines.  This favours the p1
history of the file, but allows "skip past this change" to work when files
are merged in.

Reviewed By: farnz

Differential Revision: D28546768

fbshipit-source-id: 2af1e95a0d27fb25aeea51682177fbac2c41b029
2021-05-24 03:49:27 -07:00
Thomas Orozco
846a983d67 thrift/lib/rust: update to Bytes 1.x
Summary:
Like it says in the title. The API between Bytes 1.x has changed a little bit,
but the concepts are basically the same, so we just need to change the
callsites that were calling `bytes()` and have them ask for `chunk()` instead.

This diff attempts to be as small as it can (and it's already quite big). I
didn't attempt to update *everything*: I only updated whatever was needed to
keep `common/rust/tools/scripts/check_all.sh` passing.

However, there are a few changes that fall out of this. I'll outline them here:

## `BufExt`

One little caveat is the `copy_to_bytes` we had on `BufExt`. This was
introduced into Bytes 1.x (under that name), but we can't use it here directly.

The reason we can't is because the instance we have is a `Cursor<Bytes>`, which
receives an implementation of `copy_from_bytes` via:

```
impl<T: AsRef<[u8]>> Buf for std::io::Cursor<T>
```

This means that implementation isn't capable of using the optimized
`Bytes::copy_from_bytes` which doesn't do a copy at all. So, instead, we need
to use a dedicated method on `Cursor<Bytes>`: `copy_or_reuse_bytes`.

## Calls to `Buf::to_bytes()`

This method is gone in Bytes 1.x, and replaced by the idiom
`x.copy_to_bytes(x.remaining())`, so I updated callsites of `to_bytes()`
accordingly.

## `fbthrift_ext`

This set of crates provides transports for Thrift calls that rely on Tokio 0.2
for I/O. Unfortunately, Tokio 0.2 uses Bytes 0.5, so that doesn't work well.

For now, I included a copy here (there was only one required, when reading from
the socket). This can be removed if we update the whole `fbthrift_ext` stack to
Bytes 1.x. fanzeyi had been wanting to update this to Tokio 1.x, but was blocked on `thrift/lib/rust` using Bytes 0.5, and confirmed that the overhead of a copy here is fine (besides, this code can now be updated to Tokio 1.x to remove the copy).

## Crates using both Bytes 0.5 & Bytes 1.x

This was mostly the case in Mononoke. That's no coincidence: this is why I'm
working on this. There, I had to make changes that consist of removing Bytes
0.5 to Bytes 1.x copies.

## Misuse of `Buf::bytes()`

Some places use `bytes()` when they probably mean to use `copy_to_bytes()`. For
now, I updated those to use `chunk()`, which keeps the behavior the same but
keeps the code buggy. I filed T91156115 to track fixing those (in all
likelihood I will file tasks for the relevant teams).

Reviewed By: dtolnay

Differential Revision: D28537964

fbshipit-source-id: ca42a614036bc3cb08b21a572166c4add72520ad
2021-05-20 09:44:41 -07:00
Alex Hornby
1a9fc61d51 mononoke: introduce an enum for ScrubWriteMostly
Summary: Change from an bool to an enum in preparation for adding a third value later in stack.

Reviewed By: farnz

Differential Revision: D28472922

fbshipit-source-id: 5c25e7e03f1d29eff0455282e43e359efaf9b942
2021-05-20 03:34:08 -07:00
Thomas Orozco
f5d4e0b5f7 manifold/client: take IOBufShared data as input for writes
Summary:
Currently, we take a `&mut (dyn Buf + Send)` as input when writng to Manifold.
This has a couple of downsides:

- It's not very ergonomic. From the API it's not obvious what mutations are
  going to be done on your `Buf` exactly (it's going to be consumed entirely),
  and it often results in code that's a little clumsy (see what I had to change
  here), where make calls like `write(&key, &mut mydata.clone())`.
- It limits what we can do with it. If you already have a `IOBufShared` on
  hand, you shouldn't need to copy it in order to pass it to Manifold, but
  currently the Manifold client code does have to copy it because all it sees
  is a `dyn Buf`.

This diff updates the client to take a `IOBufShared` directly, which has plenty
of convenient `From<...>` conversions (and some efficient ones like
`From<Bytes>`, which doesn't copy the `Bytes` at all).

Reviewed By: ahornby, Imxset21

Differential Revision: D28535539

fbshipit-source-id: bba1b963a96350ad57cc0fbfcc31f7e1eb36c317
2021-05-19 09:57:20 -07:00
Simon Farnsworth
24a157be39 Teach the packer to do multiple packs in a single process
Summary:
Paying the setup and teardown overhead of multiple processes seems silly, when we can pack in parallel in a single process.

Make it possible to run multiple packing runs from a single packer process

Reviewed By: ahornby

Differential Revision: D28508527

fbshipit-source-id: eab07d028db46d62731f06effbde2f5bc5579000
2021-05-19 03:32:40 -07:00
Alex Hornby
ce923a0f33 mononoke: simplify manifoldblob construction
Summary: The new and new_with_ttl constructors were causing duplication.  Combine them.

Reviewed By: farnz

Differential Revision: D28471162

fbshipit-source-id: c7095a9a337d0ccbf5cd15ac3650cd5b361aaebf
2021-05-17 04:00:58 -07:00
Alex Hornby
6c96b7f1f4 mononoke: switch manual_scrub to buffered_unordered
Summary:
manual_scrub was using the ordered form of buffered so that checkpoint was written correctly.

This diff switches to buffered_unordered which can give better throughput. To do so checkpoint uses a tracker to know what keys have completed, so it can save the latest done key which has no preceding keys still executing.

Reviewed By: farnz

Differential Revision: D28438371

fbshipit-source-id: 274aa371a0c33d37d0dc7779b04daec2b5e1bc15
2021-05-17 01:13:57 -07:00
Alex Hornby
4b21b339b6 mononoke: add bytes count to manual_scrub progress
Summary: This is useful to get an idea of what the scrub is doing

Reviewed By: farnz

Differential Revision: D28417785

fbshipit-source-id: 1421e0aae13f43371d4c0d066c08aee80b17e9c0
2021-05-14 02:55:00 -07:00
Alex Hornby
61f27b77b2 mononoke: make scrubbing of write mostly stores optional
Summary: Write mostly stores are often in the process of being populated.  Add an option to control whether scrub errors are raised for missing values in write mostly stores.

Differential Revision: D28393689

fbshipit-source-id: dfc371dcc3b591beadead82608a747958b53f580
2021-05-14 02:37:20 -07:00
Stanislau Hlebik
eab97b6123 mononoke: sync changeset implementation for megarepo
Summary: First stab at implementing sync changeset functionality for megarepo.

Reviewed By: ikostia

Differential Revision: D28357210

fbshipit-source-id: 660e3f9914737929391ab1b29f891b3b5dd47638
2021-05-13 10:04:21 -07:00
Alex Hornby
2e5d3d7d25 mononoke: log the blobstore stack being used in manual scrub
Summary: Log the blobstore stack being used for the scrub

Reviewed By: farnz

Differential Revision: D28408340

fbshipit-source-id: 2299f7f7397f48d70b9a8295f0aa28c89bbf5809
2021-05-13 04:29:33 -07:00
Alex Hornby
cce23856fc mononoke: sample size metadata for all component blobstores
Summary: Log the blobstore id as part of sampled pack info.  This is allows running the walker pack info logging directly agains a multiplex rather than invoke it for one component at a time.

Reviewed By: farnz

Differential Revision: D28264093

fbshipit-source-id: 0502175200190527b7cc1cf3c48b8154c8b27c90
2021-05-10 06:07:59 -07:00
Simon Farnsworth
bef3319996 Migrate the Rust Cachelib bindings to CXX
Summary:
These are undermaintained, and need an update for oncall support. Start by moving to CXX, which makes maintenance easier.

In the process, I've fixed a couple of oddities in the API that were either due to the age of the code, or due to misunderstandings propagating through bindgen that CXX blocks, and fixed up the users of those APIs.

Reviewed By: dtolnay

Differential Revision: D28264737

fbshipit-source-id: d18c3fc5bfce280bd69ea2a5205242607ef23f28
2021-05-07 12:24:22 -07:00
Simon Farnsworth
23cbacd701 Remove cachelib setup from segemented_changelog_tailer
Summary:
Because cachelib is not initialised at this point, it returns `None` unconditionally.

I'm refactoring the cachelib bindings so that this returns an error - take it out completely for now, leaving room to add it back in if caching is useful here

Reviewed By: sfilipco

Differential Revision: D28286986

fbshipit-source-id: cd9f43425a9ae8f0eef6fd32b8cd0615db9af5f6
2021-05-07 12:24:22 -07:00
Thomas Orozco
87ae27b91b mononoke/segmented_changelog_tailer: add scuba args
Summary: This wants to use Scuba so it needs this.

Reviewed By: StanislavGlebik

Differential Revision: D28282511

fbshipit-source-id: 6d3a2b6316084f7e16f5a2f92cfae1d101a9c2d3
2021-05-07 02:07:09 -07:00
Stefan Filip
5b2ee8ccbf segmented_changelog: update version logging to obey context discard
Summary: This update makes it so that we don't log versions to scuba from tests.

Reviewed By: krallin

Differential Revision: D27449808

fbshipit-source-id: 9c79e83fbfdf3d9a02c2cfc8b6a8255edb4241fe
2021-05-06 11:40:09 -07:00
Stefan Filip
ea5251e0db cmdlib: add scuba sample builder to environment
Summary:
This is going to enable the background update in SegmentedChangelog to log
entries to Scuba.

The scuba sample builder is not fundamentally different than other elements of
the environment. It is used slightly differently to, for example, Logger,
because it has to cloned in all places that want to log rows but otherwise it
has the same characteristics.

Reviewed By: krallin

Differential Revision: D28210008

fbshipit-source-id: 68468868d13f29dddf21095bd7526cb4ff690786
2021-05-06 11:40:08 -07:00
Mark Juggurnauth-Thomas
9d6a583988 admin: add blame-v2 to blame compute
Summary:
Add `--blame-v2` to `mononoke_admin blame compute`.  This can be used to compute
blames in the new format and validate that they are correct.

Reviewed By: mitrandir77

Differential Revision: D28183160

fbshipit-source-id: f698a77c109bfce05aeb66cd405c6f20bf158801
2021-05-06 05:45:49 -07:00
Stefan Filip
86ef0755d4 context: rename CoreContext contructor for bulk processing
Summary:
Refactoring CoreContext construction to express purpose. We will have
a constructor for request processing, for background processing.
Bulk processing is another category that has it's own constructor
already. Renaming it to make it more prominent.

Reviewed By: krallin

Differential Revision: D28210006

fbshipit-source-id: 2bb74d97e2f3588aa539e58c3d6dd6842f898121
2021-05-05 15:29:26 -07:00
Alex Hornby
da5dac311b rust: remove patch for async-compression
Summary: Upstream crate has landed my PR for zstd 1.4.9 support and made a release, so can remove this patch now.

Reviewed By: ikostia

Differential Revision: D28221163

fbshipit-source-id: b95a6bee4f0c8d11f495dc17b2737c9ac9142b36
2021-05-05 12:20:34 -07:00
Toan Mai
410f7c5c61 Imported a mysql_common patch to support FromRow for tuples up to arity 16 (#23)
Summary:
Pull Request resolved: https://github.com/facebookexperimental/rust-shed/pull/23

Pull Request resolved: https://github.com/facebookincubator/resctl/pull/8081

Pull Request resolved: https://github.com/facebookexperimental/eden/pull/82

Imported a mysql_common patch to support FromRow for tuples upto arity 16
Context: https://fburl.com/zfnw7r86

Followed the guide: https://www.internalfb.com/intern/wiki/Rust-at-facebook/Managing_fbsource_third-party_with_Reindeer/#maintaining-local-change

Reviewed By: marcelogomez

Differential Revision: D28094262

fbshipit-source-id: fed48e3950e8a3ba3d7a15407522167e5ae41a98
2021-05-05 10:32:48 -07:00
Alex Hornby
74f5e21506 mononoke: add a cmdlib option for manifold weak consistency
Reviewed By: farnz

Differential Revision: D28217480

fbshipit-source-id: c520650cbf0a34bc042e711ddb7e09063e0eea47
2021-05-05 05:51:03 -07:00
Alex Hornby
058448b022 mononoke: make manual_scrub success file optional when checkpointing
Summary: Manual scrub success file can be very large and have fairly high IO rate.  When checkpointing keys to a file its not really needed, so make it optional.

Reviewed By: farnz

Differential Revision: D28199084

fbshipit-source-id: 83d946f7ab8dc6f5f17f94b6a1c3818d9af7b0b0
2021-05-04 13:32:00 -07:00
Thomas Orozco
b27c31d172 mononoke/backfill_derived_data: limit concurrency of unodes warmup
Summary:
Right now, if your batch size is 1K we prefetch 1K unodes in parallel. This
tends to result in e.g. timeouts as various things get starved for CPU as
a result.

Let's stop doing that.

Reviewed By: StanislavGlebik

Differential Revision: D28183685

fbshipit-source-id: d8353ae8e36921a485b982a1043b81f443258098
2021-05-04 05:32:07 -07:00
Thomas Orozco
606332500a mononoke: backfill_derived_data: lower batch sizes (a lot)
Summary:
Our batch sizes are a bit crazy here and causing the backfiller to OOM if there
actually is that many commits to derive. Lower them, a lot.

Reviewed By: StanislavGlebik

Differential Revision: D28183686

fbshipit-source-id: 54b546c4507f65c34a264df283516b5d62408a66
2021-05-04 05:32:07 -07:00
Alex Hornby
c2419d91e8 mononoke: remove repo prefix from pack key in packer
Summary: The packer was adding repo prefix as part of the pack key, which would mean that same content for different repos had different binary form. This change fixes the prefix.

Reviewed By: farnz

Differential Revision: D28119422

fbshipit-source-id: 338e17885abd8cfca12d5bb399244039dbf22e63
2021-05-04 04:31:17 -07:00
Gus Wynn
cbbb45206b slog max_level_debug -> trace
Reviewed By: Imxset21

Differential Revision: D28097080

fbshipit-source-id: 7d417f8256922926cf379d9c2fb3249f6d2544ef
2021-05-03 10:30:21 -07:00