Project

General

Profile

Actions

Bug #57336

open

rgw:junk data exists when performing "AbortMultipartUpload" operation

Added by wang kevin over 1 year ago. Updated over 1 year ago.

Status:
Triaged
Priority:
Normal
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

There is such a scenario. After executing the "InitiateMultipartUpload" interface, we execute the "UploadPart" interface to upload data. When this action is not completely executed, for some reason, we call "AbortMultipartUpload" to terminate the upload, and finally we pass "radosgw" -admin bucket list" command to view the files in this bucket, it will display the shard left by "UploadPart", that is, the shard has not been deleted.(as shown in 1.jpg)
Going further, we verified whether there is complete data in the pool, but found that there is no sharded data in the data pool, but there is index data in the index pool.(as shown in 2.jpg)

We went to find the reason and found that because we used "AbortMultipartUpload" to delete the part information, an error was reported during the execution of the "void RGWPutObj::execute()" function, but at the end of this function, the data in the data pool was deleted, and The index data in the index pool is not deleted.

So what we are confused about is why this phenomenon occurs and how to solve it.


Files

1.jpg (20.8 KB) 1.jpg wang kevin, 08/30/2022 01:56 AM
2.jpg (17.5 KB) 2.jpg wang kevin, 08/30/2022 01:56 AM
Actions #1

Updated by Daniel Gryniewicz over 1 year ago

  • Status changed from New to Triaged
  • Assignee set to Daniel Gryniewicz
Actions

Also available in: Atom PDF