forked from TrueCloudLab/frostfs-api
[#41] netmap: Support EC policy
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
f56ccf36b1
commit
063d236c87
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue