sapling/eden/mononoke/cmds
Stanislau Hlebik 62485aafcb mononoke: fix benchmark after migration to derived data manager
Summary:
Derived data manager now doesn't allow deriving a batch of commits if all
ancestors weren't derived yet (and that's a good idea to do this check).

But it started to break benchmark if --batch-size, --backfill and --parallel
options are set, because in the very
beginning of the function we mark all commits as not derived, and when we start
deriving the second batch the first batch is assumed to not be derived, and
this triggers derived data manager check.

Let's instead mark only commits that we are about to derive as not derived, and
clear this check once we are done.

Reviewed By: mitrandir77

Differential Revision: D31140464

fbshipit-source-id: fc74d58dc3c4a3ad70e8e2527f7d6dfc8fde8a9c
2021-09-23 10:00:12 -07:00
..
admin add abort and requeue commands to the async-requests 2021-09-22 10:34:56 -07:00
backfill_derived_data mononoke: fix benchmark after migration to derived data manager 2021-09-23 10:00:12 -07:00
benchmark_storage_config mononoke: sample size metadata for all component blobstores 2021-05-10 06:07:59 -07:00
blobstore_healer mononoke/blobstore: new is_present semantics via enum 2021-07-05 09:17:29 -07:00
bonsai_verify mercurial_derived_data: make derivation not depend on BlobRepo 2021-09-07 07:44:28 -07:00
check_git_wc Add a tool to check working copy equivalence between git and Mononoke 2021-06-21 07:35:31 -07:00
compute_commit_stats/src mononoke: add a simple binary that can compute statistics about commits 2021-09-10 06:01:53 -07:00
copy_blobstore_keys Add syslog and slog-syslog crates 2021-09-21 07:22:38 -07:00
manual_scrub mononoke: introduce an enum for ScrubWriteMostly 2021-05-20 03:34:08 -07:00
packer Teach the packer to do multiple packs in a single process 2021-05-19 03:32:40 -07:00
sqlblob_gc mononoke: update to tokio 1.x 2021-04-28 07:36:31 -07:00
streaming_clone_warmup mononoke: make parameters not required in streaming_clone_warmup 2021-08-11 02:11:05 -07:00
aliasverify.rs Add more types to FileChange struct 2021-08-12 12:40:48 -07:00
backfill_mapping.rs mononoke: initialize loggers, config, caching, tunables & runtime in MononokeMatches 2021-04-16 10:27:43 -07:00
benchmark_filestore.rs mononoke: introduce ManifoldOptions struct 2021-08-31 09:34:46 -07:00
blobimport.rs Allow cli commands to build any "repo object" 2021-06-09 05:16:13 -07:00
configlint.rs mononoke: initialize loggers, config, caching, tunables & runtime in MononokeMatches 2021-04-16 10:27:43 -07:00
dump_public_changeset_entries.rs mononoke: introduce dump_public_changeset_entries 2021-09-06 11:11:44 -07:00
dumprev.rs mononoke: remove unnecessary .version("0.0.0") in clap App setup 2020-11-06 02:23:46 -08:00
idxdump.rs mononoke: remove unnecessary .version("0.0.0") in clap App setup 2020-11-06 02:23:46 -08:00
lfs_import.rs Allow cli commands to build any "repo object" 2021-06-09 05:16:13 -07:00
populate_healer.rs Allow more read-connection-types when creating SqlConnections 2021-09-06 14:40:47 -07:00
rechunker.rs Allow cli commands to build any "repo object" 2021-06-09 05:16:13 -07:00
revlogrepo.rs mononoke: remove unnecessary .version("0.0.0") in clap App setup 2020-11-06 02:23:46 -08:00
segmented_changelog_seeder.rs mononoke: include additional bonsai changesets during segmented changelog seeder 2021-09-17 01:23:05 -07:00
segmented_changelog_tailer.rs Allow cli commands to build any "repo object" 2021-06-09 05:16:13 -07:00
statistics_collector.rs mononoke: update to tokio 1.x 2021-04-28 07:36:31 -07:00
upload_globalrevs.rs mononoke: remove async on FbConstruct methods 2021-04-28 11:14:52 -07:00