sapling/configerator/structs/scm/mononoke/lfs_server
Ava Spataru 591b6782f2 Mononoke LFS: allow sharding content across > 1 host
Summary:
To ensure that a specific content gets sharded to multiple tasks (by tasks_per_content config parameter) each content can have multiple routing keys. These are the SHA256 (as before) or the SHA256 suffixed with "-1", "-2" etc..

When the routing key is generated for an item, one of them is picked randomly.

Added config constraint to ensure that the number of tasks parameter is at least 1.

Reviewed By: krallin

Differential Revision: D25886402

fbshipit-source-id: fb8911dad07d2f0b6bbf57b4ede084428fe6c49d
2021-01-15 06:53:14 -08:00
..
Cargo.toml Do full regen 2021-01-11 16:14:36 -08:00
lfs_server.thrift Mononoke LFS: allow sharding content across > 1 host 2021-01-15 06:53:14 -08:00
thrift_build.rs mononoke/lfs_server: import config structs from Configerator 2020-12-03 06:17:06 -08:00
thrift_lib.rs mononoke/lfs_server: import config structs from Configerator 2020-12-03 06:17:06 -08:00