[#86] netmap: Introduce wildcard for Replica
* Add a new field `wildcard` to `Replica`; * Regenerate docs. Signed-off-by: Airat Arifullin <aarifullin@yadro.com>
This commit is contained in:
parent
9c7730b67b
commit
8f49991b5b
2 changed files with 5 additions and 0 deletions
|
@ -112,6 +112,10 @@ message Replica {
|
||||||
|
|
||||||
// Parity shards count
|
// Parity shards count
|
||||||
uint32 ec_parity_count = 4 [ json_name = "ecParityCount" ];
|
uint32 ec_parity_count = 4 [ json_name = "ecParityCount" ];
|
||||||
|
|
||||||
|
// Use all nodes from the node set defined by the selector.
|
||||||
|
// This flag is applicable only to the 'REP' selector and cannot be used for 'EC'.
|
||||||
|
bool wildcard = 5 [ json_name = "wildcard" ];
|
||||||
}
|
}
|
||||||
|
|
||||||
// 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
|
||||||
|
|
|
@ -515,6 +515,7 @@ default.
|
||||||
| selector | [string](#string) | | Named selector bucket to put replicas |
|
| selector | [string](#string) | | Named selector bucket to put replicas |
|
||||||
| ec_data_count | [uint32](#uint32) | | Data shards count |
|
| ec_data_count | [uint32](#uint32) | | Data shards count |
|
||||||
| ec_parity_count | [uint32](#uint32) | | Parity shards count |
|
| ec_parity_count | [uint32](#uint32) | | Parity shards count |
|
||||||
|
| wildcard | [bool](#bool) | | Use all nodes from the node set defined by the selector. This flag is applicable only to the 'REP' selector and cannot be used for 'EC'. |
|
||||||
|
|
||||||
|
|
||||||
<a name="neo.fs.v2.netmap.Selector"></a>
|
<a name="neo.fs.v2.netmap.Selector"></a>
|
||||||
|
|
Loading…
Add table
Reference in a new issue