Closed roman-khimov closed 9 months ago
I vote for the first one as the most explicit object-handling information to me: helper object has helper info. An offset inside every object seems redundant info for the object itself, it does not take part in the assembly and not required for the storing payload. Demanding the same size would be the best and the easiest to me but we have not done it yet and it looks like a feature, mb we do not want to be so strict.
Storing offset in a small object costs nothing, storing sizes in the link object does have some cost to it (~10% per-object additional overhead). We can do both though.
Equal parts are not compatible with non-reslicing S3 multipart handler (https://github.com/nspcc-dev/neofs-s3-gw/issues/843).
There are several ways to do this:
header.split.previous
anyway, so checking that the size of the object is the same as the previous one costs nothing.