From 6ea41833977464d82e9bf96394254271f34ea68d Mon Sep 17 00:00:00 2001 From: Roman Loginov Date: Wed, 5 Feb 2025 13:32:45 +0300 Subject: [PATCH 1/2] [#77] object: Add a refinement to description on the FileName attribute Signed-off-by: Roman Loginov --- object/types.proto | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/object/types.proto b/object/types.proto index f1df067..62a6792 100644 --- a/object/types.proto +++ b/object/types.proto @@ -141,7 +141,8 @@ message Header { // * Name \ // Human-friendly name // * FileName \ - // File name to be associated with the object on saving + // File name to be associated with the object on saving. FileName must not + // contain the delimiting symbol '/'. // * FilePath \ // Full path to be associated with the object on saving. Should start with a // '/' and use '/' as a delimiting symbol. Trailing '/' should be From d14d1463175d844aa231d33a5f7ef73f3b17a6b1 Mon Sep 17 00:00:00 2001 From: Airat Arifullin Date: Fri, 25 Apr 2025 12:09:15 +0300 Subject: [PATCH 2/2] [#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. |