sapling/configerator/structs/scm
Rajiv Sharma db4b735b06 Add Deep Sharding Config to support service level sharding mode
Summary:
In D38786500, I introduced `deep-sharded` flag that controls whether a repo needs to execute in deep-sharded mode or shallow-sharded mode. However, the flag was universal (i.e. it was applicable to all services). Since we currently have a situation where certain services need to execute repos in deep sharded (e.g. `SCS`) while others need to execute in shallow-sharded mode (e.g. `Eden API`). This diff introduces `ShardingModeConfig` which determines if a repo is deep sharded for a particular service.

For now, the `deep_sharded` flag is kept as is. Once the config + code changes to use this new property are landed, I will delete the old `deep_sharded` flag.

Corresponding configerator diff: D42501648

Differential Revision: D42530372

fbshipit-source-id: 1bd46533ad18939da4465239dab1340a0e8219d2
2023-01-20 01:08:27 -08:00
..
hg/hgclientconf Update to async-trait 0.1.58 2022-10-19 17:35:20 -07:00
mononoke Add Deep Sharding Config to support service level sharding mode 2023-01-20 01:08:27 -08:00