[#86] netmap: Introduce wildcard for Replica
Some checks failed
Formatters / Run fmt (pull_request) Failing after 20s
DCO action / DCO (pull_request) Successful in 22s
Pre-commit hooks / Pre-commit (pull_request) Successful in 26s

* Add a new field `wildcard` to `Replica`;
* Regenerate docs.

Signed-off-by: Airat Arifullin <aarifullin@yadro.com>
This commit is contained in:
Airat Arifullin 2025-04-23 17:22:03 +03:00
parent 9c7730b67b
commit 8f49991b5b
2 changed files with 5 additions and 0 deletions

View file

@ -112,6 +112,10 @@ message Replica {
// Parity shards count
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

View file

@ -515,6 +515,7 @@ default.
| selector | [string](#string) | | Named selector bucket to put replicas |
| ec_data_count | [uint32](#uint32) | | Data 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>