Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
mimic: rgw: abort multipart fix #29016
Cleaning up after aborting unfinished multipart uploads is a best-effort process. Due to the history of the multipart upload, not all components may be found and the process needs to be robust to that. Presently, if a component is not found after the final call to list_bucket_multiparts, the error propogates to the caller, but not if the component is not found in an earlier call. This change does not propogate that error up ever. Additional logging is also added to multipart-related functions. Signed-off-by: J. Eric Ivancich <firstname.lastname@example.org> (cherry picked from commit 51aff62)
@smithfarm This is definitely a bug and can prevent bucket deletion in some cases, and with no easy work-arounds. I understand the benefit of having bug fixes backported in backwards order. But given the problems users can have, I think it'd be better to get this into mimic sooner rather than later.
1 similar comment
@ivancich i don't see much risk in applying this to mimic without nautilus, since this only affects the 'radosgw-admin bucket rm' command. the mimic version will just be able to successfully delete some buckets that it wouldn't be able to after a nautilus upgrade