[#210] Fix multipart object reader #212

Merged
alexvanin merged 1 commit from mbiryukova/frostfs-s3-gw:feature/fix_multipart_object_reader into support/v0.28 2023-09-20 14:37:33 +00:00
Member

Closes #210

Signed-off-by: Marina Biryukova m.biryukova@yadro.com

Closes #210 Signed-off-by: Marina Biryukova <m.biryukova@yadro.com>
mbiryukova self-assigned this 2023-09-19 11:20:34 +00:00
mbiryukova requested review from storage-services-committers 2023-09-19 11:28:20 +00:00
mbiryukova requested review from storage-services-developers 2023-09-19 11:28:21 +00:00
alexvanin reviewed 2023-09-19 11:59:50 +00:00
@ -96,1 +96,3 @@
return findPartByPosition(cfg.off, cfg.parts)
position := cfg.off
for i, part := range cfg.parts {
if position < part.Size {
Owner

Maybe it worth a comment there, that this is intentionally different from findEndPart, where we use closed range <=.

Maybe it worth a comment there, that this is intentionally different from `findEndPart`, where we use closed range `<=`.
alexvanin marked this conversation as resolved
mbiryukova force-pushed feature/fix_multipart_object_reader from 252fcc3c02 to a4c612614a 2023-09-19 13:40:59 +00:00 Compare
alexvanin approved these changes 2023-09-20 14:37:25 +00:00
alexvanin merged commit a4c612614a into support/v0.28 2023-09-20 14:37:33 +00:00
Sign in to join this conversation.
No reviewers
TrueCloudLab/storage-services-developers
No milestone
No project
No assignees
2 participants
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: TrueCloudLab/frostfs-s3-gw#212
No description provided.