sapling/eden/mononoke/blobrepo
Mark Juggurnauth-Thomas 73cdac45e3 derived_data: use new derived data configuration format
Summary:
Change derived data config to have "enabled" config and "backfilling" config.

The `Mapping` object has the responsibility of encapsulating the configuration options
for the derived data type.  Since it is only possible to obtain a `Mapping` from
appropriate configuration, ownership of a `Mapping` means derivation is permitted,
and so the `DeriveMode` enum is removed.

Most callers will use `BonsaiDerived::derive`, or a default `derived_data_utils` implementation
that requires the derived data to be enabled and configured on the repo.

Backfillers can additionally use `derived_data_utils_for_backfill` which will use the
`backfilling` configuration in preference to the default configuration.

Reviewed By: ahornby

Differential Revision: D25246317

fbshipit-source-id: 352fe6509572409bc3338dd43d157f34c73b9eac
2020-12-14 09:24:58 -08:00
..
blobrepo_hg convert changeset creation to new type futures 2020-12-11 13:55:46 -08:00
blobsync convret to new type futures 2020-12-03 07:15:04 -08:00
changeset_fetcher convert to new type futures 2020-12-02 15:40:12 -08:00
common convret to new type futures 2020-12-03 07:15:04 -08:00
errors mononoke: remove HgBlobEntry 2020-11-26 08:22:05 -08:00
factory derived_data: use new derived data configuration format 2020-12-14 09:24:58 -08:00
override blobrepo: move ChangesetFetcher to attributes 2020-09-02 17:20:41 -07:00
repo_blobstore scuba: turn ScubaSampleBuilderExt into a wrapper struct 2020-11-30 21:26:24 -08:00
src mononoke/bonsai_globalrev_mapping: set perf counters 2020-12-07 08:23:19 -08:00
test convert changeset creation to new type futures 2020-12-11 13:55:46 -08:00
Cargo.toml convert save_bonsai_changesets to new type futures 2020-11-30 12:00:22 -08:00