From 063d236c872bedf5c6c75b0835319ac35313d040 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Thu, 14 Mar 2024 10:05:40 +0300 Subject: [PATCH] [#41] netmap: Support EC policy Signed-off-by: Evgenii Stratonikov --- netmap/types.proto | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/netmap/types.proto b/netmap/types.proto index a3c9c00..f599d56 100644 --- a/netmap/types.proto +++ b/netmap/types.proto @@ -103,6 +103,12 @@ message Replica { // Named selector bucket to put replicas 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