Verify EC part objects before storage #1501

Closed
opened 2025-12-28 17:35:39 +00:00 by sami · 0 comments
Owner

Originally created by @cthulhu-rider on GitHub (Sep 11, 2025).

Originally assigned to: @cthulhu-rider on GitHub.

after #3457, objects may be split into EC parts distributed over container. Transmission performs via PUT or REPLICATE RPC. Server can definitely distinguish EC parts. Their format must be checked

Describe the solution you'd like

extend nspcc-dev/neofs-node@0a90006ad8/pkg/core/object/fmt.go (L137)

if object is EC part, it must be fully compatible with production func nspcc-dev/neofs-node@bb155f3c49/internal/ec/objects.go (L51)

otherwise it must be denied

Originally created by @cthulhu-rider on GitHub (Sep 11, 2025). Originally assigned to: @cthulhu-rider on GitHub. after #3457, objects may be split into EC parts distributed over container. Transmission performs via PUT or REPLICATE RPC. Server can definitely distinguish EC parts. Their format must be checked ## Describe the solution you'd like extend https://github.com/nspcc-dev/neofs-node/blob/0a90006ad8ce5275c1b9af414c7f1f84310539d3/pkg/core/object/fmt.go#L137 if object is EC part, it must be fully compatible with production func https://github.com/nspcc-dev/neofs-node/blob/bb155f3c49a90b77b19caf31cf7043731a685050/internal/ec/objects.go#L51 otherwise it must be denied
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-node#1501
No description provided.