Bug #11974
Fix tool for #11442 does not correctly fix objects created via multipart uploads
0%
Description
radosgw-admin bucket check --check-head-obj-locator --fix
claims to successfully fix objects that were created via multipart uploads, and subsequent --check-head-obj-locator
invocations claim that the objects have, in fact, been fixed. However, those objects remain inaccessible by rgw 0.94.2, and remain accessible by rgw 0.94.1.
Related issues
Associated revisions
rgw: fix reset_loc()
Fixes: #11974
Only need to set locator for underscore if namespace is empty
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
rgw: fix reset_loc()
Fixes: #11974
Only need to set locator for underscore if namespace is empty
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit d3bd27f4855df6bb207b656527138026af1a36a2)
History
#1 Updated by Sage Weil over 8 years ago
- Status changed from New to Duplicate
#2 Updated by Benjamin Gilbert over 8 years ago
#11984 appears to be about a harmless warning produced by the tool. This bug is about the tool failing to fix the problem it was designed to fix.
#3 Updated by Yehuda Sadeh over 8 years ago
do you have any example of an object that was created with multipart upload that is not accessible? Does the object name start with an underscore, or is it every multipart object?
#4 Updated by Yehuda Sadeh over 8 years ago
- Status changed from Duplicate to New
#5 Updated by Benjamin Gilbert over 8 years ago
In my tests, it seemed to affect all multipart objects starting with an underscore and created with 0.94.1. I've since reuploaded every affected object in our system, but I can downgrade an rgw and reproduce the problem again if that's helpful.
#6 Updated by Yehuda Sadeh over 8 years ago
- Priority changed from Normal to Urgent
#7 Updated by Yehuda Sadeh over 8 years ago
- Status changed from New to Pending Backport
- Backport set to hammer
#8 Updated by Yehuda Sadeh over 8 years ago
merged to next, commit:0f6060c7c8e4576039a54080d17536e2169b6f63
#9 Updated by Yehuda Sadeh over 8 years ago
- Assignee set to Loïc Dachary
#10 Updated by Loïc Dachary about 8 years ago
- Assignee changed from Loïc Dachary to Yehuda Sadeh
#11 Updated by Loïc Dachary about 8 years ago
master pull request https://github.com/ceph/ceph/pull/4996
#12 Updated by Yehuda Sadeh about 8 years ago
- Status changed from Pending Backport to Resolved