forked from TrueCloudLab/frostfs-api
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 <stanislav@nspcc.ru>
This commit is contained in:
parent
3cdde6492b
commit
55c04e485e
1 changed files with 6 additions and 0 deletions
|
@ -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"];
|
||||
|
|
Loading…
Reference in a new issue