You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no need to generate some UUID with non-specified rules if the first
object part allows the same identification routines but uses hashes widely
accepted in the protocol.
Signed-off-by: Pavel Karpy <[email protected]>
Copy file name to clipboardExpand all lines: proto-docs/object.md
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -955,7 +955,8 @@ must be within the same container.
955
955
| parent_signature |[neo.fs.v2.refs.Signature](#neo.fs.v2.refs.Signature)||`signature` field of the parent object. Used to reconstruct parent. |
956
956
| parent_header |[Header](#neo.fs.v2.object.Header)||`header` field of the parent object. Used to reconstruct parent. |
957
957
| children |[neo.fs.v2.refs.ObjectID](#neo.fs.v2.refs.ObjectID)| repeated | DEPRECATED. Was used before creating the separate LINK object type. Keep child objects list in the LINK object's payload. List of identifiers of the objects generated by splitting current one. |
958
-
| split_id |[bytes](#bytes)|| 16 byte UUIDv4 used to identify the split object hierarchy parts. Must be unique inside container. All objects participating in the split must have the same `split_id` value. |
958
+
| split_id |[bytes](#bytes)|| DEPRECATED. Was used as an identifier of a split chain. Use the first part ID instead. 16 byte UUIDv4 used to identify the split object hierarchy parts. Must be unique inside container. All objects participating in the split must have the same `split_id` value. |
959
+
| first |[neo.fs.v2.refs.ObjectID](#neo.fs.v2.refs.ObjectID)|| Identifier of the first part of the origin object. Known to all the split parts except the first one. Identifies the split and allows to differ them. |
959
960
960
961
961
962
<aname="neo.fs.v2.object.Object"></a>
@@ -1005,9 +1006,10 @@ right from the object parts.
1005
1006
1006
1007
| Field | Type | Label | Description |
1007
1008
| ----- | ---- | ----- | ----------- |
1008
-
| split_id |[bytes](#bytes)|| 16 byte UUID used to identify the split object hierarchy parts. |
1009
+
| split_id |[bytes](#bytes)||DEPRECATED. Was used as an identifier of a split chain. Use the first part ID instead. 16 byte UUID used to identify the split object hierarchy parts. |
1009
1010
| last_part |[neo.fs.v2.refs.ObjectID](#neo.fs.v2.refs.ObjectID)|| The identifier of the last object in split hierarchy parts. It contains split header with the original object header. |
1010
1011
| link |[neo.fs.v2.refs.ObjectID](#neo.fs.v2.refs.ObjectID)|| The identifier of a linking object for split hierarchy parts. It contains split header with the original object header and a sorted list of object parts. |
1012
+
| first_part |[neo.fs.v2.refs.ObjectID](#neo.fs.v2.refs.ObjectID)|| Identifier of the first part of the origin object. Known to all the split parts except the first one. Identifies the split and allows to differ them. |
0 commit comments