Skip to content

Commit 8838e6d

Browse files
authored
Merge pull request #329 from nspcc-dev/rm/REPLICATE-header-limit-expection
2 parents 33e3a77 + c360639 commit 8838e6d

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
### Changed
88

99
### Removed
10+
- Header limit exception (4 MB instead of 16 KB) for replication RPCs (#293)
1011

1112
### Deprecated
1213

object/service.proto

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -329,9 +329,7 @@ message PutRequest {
329329
// Object signature if available
330330
neo.fs.v2.refs.Signature signature = 2;
331331

332-
// Object's Header. The maximum length is 16KB. The only exclusion are
333-
// replication requests, i.e. requests sent by container nodes with
334-
// 'meta_header.ttl=1': for such cases the limit is 4MB.
332+
// Object's Header. The maximum length is 16KB.
335333
Header header = 3;
336334

337335
// Number of the object copies to store within the RPC call. By default

proto-docs/object.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ are not set, they will be calculated by a peer node.
694694
| ----- | ---- | ----- | ----------- |
695695
| object_id | [neo.fs.v2.refs.ObjectID](#neo.fs.v2.refs.ObjectID) | | ObjectID if available. |
696696
| signature | [neo.fs.v2.refs.Signature](#neo.fs.v2.refs.Signature) | | Object signature if available |
697-
| header | [Header](#neo.fs.v2.object.Header) | | Object's Header. The maximum length is 16KB. The only exclusion are replication requests, i.e. requests sent by container nodes with 'meta_header.ttl=1': for such cases the limit is 4MB. |
697+
| header | [Header](#neo.fs.v2.object.Header) | | Object's Header. The maximum length is 16KB. |
698698
| copies_number | [uint32](#uint32) | | Number of the object copies to store within the RPC call. By default object is processed according to the container's placement policy. |
699699

700700

0 commit comments

Comments
 (0)