mirror of
https://github.com/ceph/ceph
synced 2024-12-27 14:03:25 +00:00
Merge pull request #32562 from IlsooByun/fix_dm
rgw: do not remove delete marker when fixing versioned bucket
This commit is contained in:
commit
210fb41806
@ -8604,7 +8604,7 @@ int RGWRados::check_disk_state(librados::IoCtx io_ctx,
|
||||
return r;
|
||||
|
||||
list_state.pending_map.clear(); // we don't need this and it inflates size
|
||||
if (!astate->exists) {
|
||||
if (!list_state.is_delete_marker() && !astate->exists) {
|
||||
/* object doesn't exist right now -- hopefully because it's
|
||||
* marked as !exists and got deleted */
|
||||
if (list_state.exists) {
|
||||
|
Loading…
Reference in New Issue
Block a user