Require at least one field of object.SplitInfo to be set #72

Closed
opened 2025-12-28 18:12:24 +00:00 by sami · 1 comment
Owner

Originally created by @cthulhu-rider on GitHub (May 17, 2022).

In current implementation protocol doesn't impose restrictions on the presence of fields in object.SplitInfo message in ObjectService service. However, the absence of all fields is an incorrect response: it is not enough just to beacon about a fragmented object, you need to give a hook to the assembly.

Proposal

Require at least one field to be set.

P.S. proposal breaks backward compatibility of the protocol, however, this requirement was always implied and was simply not explicitly stated.

Originally created by @cthulhu-rider on GitHub (May 17, 2022). In current implementation protocol doesn't impose restrictions on the presence of fields in `object.SplitInfo` message in `ObjectService` service. However, the absence of all fields is an incorrect response: it is not enough just to beacon about a fragmented object, you need to give a hook to the assembly. ## Proposal Require at least one field to be set. P.S. proposal breaks backward compatibility of the protocol, however, this requirement was always implied and was simply not explicitly stated.
sami 2025-12-28 18:12:24 +00:00
Author
Owner

@roman-khimov commented on GitHub (Apr 19, 2024):

v2 split is validated all around, so nothing to do here.

@roman-khimov commented on GitHub (Apr 19, 2024): v2 split is validated all around, so nothing to do here.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/neofs-api#72
No description provided.