Compare commits

..

1 commit

Author SHA1 Message Date
Airat Arifullin
8f49991b5b [#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>
2025-04-23 19:17:44 +03:00
3 changed files with 6 additions and 2 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

@ -141,8 +141,7 @@ message Header {
// * Name \
// Human-friendly name
// * FileName \
// File name to be associated with the object on saving. FileName must not
// contain the delimiting symbol '/'.
// File name to be associated with the object on saving
// * FilePath \
// Full path to be associated with the object on saving. Should start with a
// '/' and use '/' as a delimiting symbol. Trailing '/' should be

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>