From d14d1463175d844aa231d33a5f7ef73f3b17a6b1 Mon Sep 17 00:00:00 2001 From: Airat Arifullin Date: Fri, 25 Apr 2025 12:09:15 +0300 Subject: [PATCH] [#87] netmap: Introduce wildcard flag for `Selector` * Add a new field `wildcard` to `Selector`; * Regenerate docs. Signed-off-by: Airat Arifullin --- netmap/types.proto | 3 +++ proto-docs/netmap.md | 1 + 2 files changed, 4 insertions(+) diff --git a/netmap/types.proto b/netmap/types.proto index b76b3c1..fdf5bc7 100644 --- a/netmap/types.proto +++ b/netmap/types.proto @@ -95,6 +95,9 @@ message Selector { // Filter reference to select from string filter = 5 [ json_name = "filter" ]; + + // Use all nodes from the bucket. + bool wildcard = 6 [ json_name = "wildcard" ]; } // Number of object replicas in a set of nodes from the defined selector. If no diff --git a/proto-docs/netmap.md b/proto-docs/netmap.md index b49287c..b6bc53c 100644 --- a/proto-docs/netmap.md +++ b/proto-docs/netmap.md @@ -531,6 +531,7 @@ to the provided `ContainerID` by hash distance. | clause | [Clause](#neo.fs.v2.netmap.Clause) | | Selector modifier showing how to form a bucket | | attribute | [string](#string) | | Bucket attribute to select from | | filter | [string](#string) | | Filter reference to select from | +| wildcard | [bool](#bool) | | Use all nodes from the bucket. | -- 2.47.2