From 55c04e485ec5f614ef5c2307ae6bd91a8d013d14 Mon Sep 17 00:00:00 2001 From: Stanislav Bogatyrev Date: Tue, 17 Nov 2020 09:37:12 +0300 Subject: [PATCH] Add `header.split.split_id` header to object In some cases like nspcc-dev/neofs-node#167 there is no simple way to identify where does the object part belongs to. Adding `split_id` as the required field will simplify split object processing. Signed-off-by: Stanislav Bogatyrev --- object/types.proto | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/object/types.proto b/object/types.proto index cdfe6d2..3fea559 100644 --- a/object/types.proto +++ b/object/types.proto @@ -133,6 +133,12 @@ message Header { // List of identifiers of the objects generated by splitting current one. repeated neo.fs.v2.refs.ObjectID children = 5 [json_name = "children"]; + + // 16 byte UUID used to identify the split object hierarchy parts. Must be + // unique inside container. All objects participaiting in the split must + // have the same `split_id` value. + bytes split_id = 6 [json_name = "splitID"]; + } // Position of the object in the split hierarchy Split split = 11 [json_name = "split"];