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
Copy file name to clipboardExpand all lines: proto-docs/object.md
+38-3Lines changed: 38 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -149,6 +149,9 @@ Please refer to detailed `XHeader` description.
149
149
Statuses:
150
150
-**OK** (0, SECTION_SUCCESS): \
151
151
object has been successfully saved in the container;
152
+
-**INCOMPLETE** (1, SECTION_SUCCESS): \
153
+
object was put to some nodes, but the number of replicas is not sufficient
154
+
to satisfy placement policy;
152
155
- Common failures (SECTION_FAILURE_COMMON);
153
156
-**ACCESS_DENIED** (2048, SECTION_OBJECT): \
154
157
write access to the container is denied;
@@ -188,6 +191,9 @@ Please refer to detailed `XHeader` description.
188
191
Statuses:
189
192
-**OK** (0, SECTION_SUCCESS): \
190
193
object has been successfully marked to be removed from the container;
194
+
-**INCOMPLETE** (1, SECTION_SUCCESS): \
195
+
some nodes have accepted the deletion mark, but some may still store
196
+
the object;
191
197
- Common failures (SECTION_FAILURE_COMMON);
192
198
-**ACCESS_DENIED** (2048, SECTION_OBJECT): \
193
199
delete access to the object is denied;
@@ -250,6 +256,9 @@ Please refer to detailed `XHeader` description.
250
256
Statuses:
251
257
-**OK** (0, SECTION_SUCCESS): \
252
258
objects have been successfully selected;
259
+
-**INCOMPLETE** (1, SECTION_SUCCESS): \
260
+
some nodes were unable to process the request, so the result may
261
+
not contain all data;
253
262
- Common failures (SECTION_FAILURE_COMMON);
254
263
-**ACCESS_DENIED** (2048, SECTION_OBJECT): \
255
264
access to operation SEARCH of the object is denied;
@@ -474,7 +483,17 @@ Get hash of object's payload part response body.
474
483
<aname="neo.fs.v2.object.GetRangeRequest"></a>
475
484
476
485
### Message GetRangeRequest
477
-
Request part of object's payload
486
+
Request part of object's payload.
487
+
488
+
The query for a parent object's EC part locally stored on the server is
489
+
specified as follows:
490
+
-`body.address` is an address of the parent;
491
+
-`meta_header.x_headers` includes `__NEOFS__EC_RULE_IDX` and
492
+
`__NEOFS__EC_PART_IDX` by object attribute format. Rule index MUST NOT
493
+
exceed container's `PlacementPolicy.ec_rules` list. Part index MUST NOT
494
+
exceed total part number in the indexed rule.
495
+
In this case, if `body.address` refers to TOMBSTONE or LOCK object (which
496
+
cannot have EC parts), the query applies to it.
478
497
479
498
480
499
| Field | Type | Label | Description |
@@ -528,7 +547,17 @@ chunks.
528
547
<aname="neo.fs.v2.object.GetRequest"></a>
529
548
530
549
### Message GetRequest
531
-
GET object request
550
+
GET object request.
551
+
552
+
The query for a parent object's EC part locally stored on the server is
553
+
specified as follows:
554
+
-`body.address` is an address of the parent;
555
+
-`meta_header.x_headers` includes `__NEOFS__EC_RULE_IDX` and
556
+
`__NEOFS__EC_PART_IDX` by object attribute format. Rule index MUST NOT
557
+
exceed container's `PlacementPolicy.ec_rules` list. Part index MUST NOT
558
+
exceed total part number in the indexed rule.
559
+
In this case, if `body.address` refers to TOMBSTONE or LOCK object (which
560
+
cannot have EC parts), the query applies to it.
532
561
533
562
534
563
| Field | Type | Label | Description |
@@ -950,6 +979,12 @@ that affect system behaviour:
950
979
*__NEOFS__TICK_TOPIC \
951
980
UTF-8 string topic ID that is used for object notification.
952
981
DEPRECATED: attribute ignored by servers.
982
+
*__NEOFS__EC_RULE_IDX \
983
+
Index of EC rule in container's `PlacementPolicy.ec_rules` according to
984
+
which the part was created. Base-10 integer.
985
+
*__NEOFS__EC_PART_IDX \
986
+
Index in the EC parts into which the parent object is divided according
987
+
to `__NEOFS__EC_RULE_IDX` EC rule. Base-10 integer.
953
988
954
989
And some well-known attributes used by applications only:
955
990
@@ -990,7 +1025,7 @@ must be within the same container.
990
1025
991
1026
| Field | Type | Label | Description |
992
1027
| ----- | ---- | ----- | ----------- |
993
-
| parent |[neo.fs.v2.refs.ObjectID](#neo.fs.v2.refs.ObjectID)|| Identifier of the origin object. Known only to the minor child. |
1028
+
| parent |[neo.fs.v2.refs.ObjectID](#neo.fs.v2.refs.ObjectID)|| Identifier of the origin object. If the origin object is split to comply with the object size limit, `parent` is known only to the minor child. |
994
1029
| previous |[neo.fs.v2.refs.ObjectID](#neo.fs.v2.refs.ObjectID)|| Identifier of the left split neighbor |
995
1030
| parent_signature |[neo.fs.v2.refs.Signature](#neo.fs.v2.refs.Signature)||`signature` field of the parent object. Used to reconstruct parent. |
996
1031
| parent_header |[Header](#neo.fs.v2.object.Header)||`header` field of the parent object. Used to reconstruct parent. |
0 commit comments