Bug #65746
openrgw: multipart upload: complete multipart upload complete cannot be retried after some errors (e.g., after complete was attempted with an invalid checksum)
0%
Description
+ # XXXX re-trying the complete is failing in RGW due to an internal error that appears not caused
+ # checksums;
+ # 2024-04-25T17:47:47.991-0400 7f78e3a006c0 0 req 4931907640780566174 0.011000143s s3:complete_multipart check_previously_completed() ERROR: get_obj_attrs() returned ret=-2
+ # 2024-04-25T17:47:47.991-0400 7f78e3a006c0 2 req 4931907640780566174 0.011000143s s3:complete_multipart completing
+ # 2024-04-25T17:47:47.991-0400 7f78e3a006c0 1 req 4931907640780566174 0.011000143s s3:complete_multipart ERROR: either op_ret is negative (execute failed) or target_obj is null, op_ret: -2200
+ # -2200 turns into 500, InternalError
It's not clear to me what the state of the attempted upload is after this error, e.g., if it could leak space.
Updated by Casey Bodley almost 2 years ago
- Status changed from New to Triaged
- Backport set to reef squid
- Regression changed from No to Yes
i think this was a regression from https://github.com/ceph/ceph/pull/54569, which moved meta_obj->delete_object() from RGWCompleteMultipart::execute() to RGWCompleteMultipart::complete(). before that change, it was only called on success. after moving, it runs on failures too. deleting meta_obj on failure will prevent a retry from succeeding
adding reef backport because that regression was already backported for https://tracker.ceph.com/issues/63532
Updated by Casey Bodley almost 2 years ago
- Status changed from Triaged to Fix Under Review
- Pull request ID set to 57257
Updated by Casey Bodley almost 2 years ago
- Blocks Backport #63857: quincy: notification: etag is missing in CompleteMultipartUpload event added
Updated by Casey Bodley almost 2 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Casey Bodley almost 2 years ago
- Copied to Backport #65821: squid: rgw: multipart upload: complete multipart upload complete cannot be retried after some errors (e.g., after complete was attempted with an invalid checksum) added
Updated by Casey Bodley almost 2 years ago
- Copied to Backport #65822: reef: rgw: multipart upload: complete multipart upload complete cannot be retried after some errors (e.g., after complete was attempted with an invalid checksum) added
Updated by Konstantin Shalygin 12 months ago
- Blocks deleted (Backport #63857: quincy: notification: etag is missing in CompleteMultipartUpload event)
Updated by Upkeep Bot 8 months ago
- Merge Commit set to 00829d8d23d8e72f40ea94faff90f417e8d62604
- Fixed In set to v19.3.0-1983-g00829d8d23d
- Upkeep Timestamp set to 2025-07-08T22:38:54+00:00
Updated by Upkeep Bot 7 months ago
- Fixed In changed from v19.3.0-1983-g00829d8d23d to v19.3.0-1983-g00829d8d23
- Upkeep Timestamp changed from 2025-07-08T22:38:54+00:00 to 2025-07-14T17:10:48+00:00
Updated by Upkeep Bot 4 months ago
- Released In set to v20.2.0~2968
- Upkeep Timestamp changed from 2025-07-14T17:10:48+00:00 to 2025-11-01T00:54:50+00:00