[#41] netmap: Support EC policy

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2024-03-14 10:05:40 +03:00
parent f56ccf36b1
commit 063d236c87

View file

@ -103,6 +103,12 @@ message Replica {
// Named selector bucket to put replicas // Named selector bucket to put replicas
string selector = 2 [ json_name = "selector" ]; string selector = 2 [ json_name = "selector" ];
// Data shards count
uint32 ec_data_count = 6 [ json_name = "ecDataCount" ];
// Parity shards count
uint32 ec_parity_count = 7 [ json_name = "ecParityCount" ];
} }
// Set of rules to select a subset of nodes from `NetworkMap` able to store // Set of rules to select a subset of nodes from `NetworkMap` able to store