mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
db4b735b06
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 |
||
---|---|---|
.. | ||
hg/hgclientconf | ||
mononoke |