[Bug 1868364] Re: rgw: unable to abort multipart upload after the bucket got resharded

dongdong tao 1868364 at bugs.launchpad.net
Tue Jul 7 02:38:44 UTC 2020


upload the debdiff

** Description changed:

+ [Impact]
+ This bug will cause the bucket not able to abort the multipart upload and leaving the stale multiple entries behind for those buckets which had partial multipart uploads before the resharding.
+ 
+ [Test Case]
+ Deploy a latest luminous(12.2.13) ceph cluter
+ Create a bucket
+ upload a big file (200M+) to that bucket
+ Press "Ctrl + C" after several part (each part is 15M) had been uploaded
+ Manually reshard the bucket to 4 shards
+ Abort the multipart uploading
+ Without the fix, you will not able to abort the previous uploading
+ 
+ [Regression Potential]
+ Low - this fix has been accept upstream in later releases since from Mimic.
+ 
+ [Original Bug Report]
  There is a bug during the resharding for those multipart entries.
  For all the multipart entries, the hash source should be the object name so that all those entries can still be
  distributed to one same bucket index shard object.
  Right now the code just calculate the shard id based on each entry's name, which is wrong
- 
- This can cause the bucket not able to abort the multipart upload and
- leave the stale multiple entries behind.
- 
- The fix is already merged into the mimic and nautilus. but upstream
- didn't backport it to luminous
- 
- fix is here https://github.com/ceph/ceph/pull/32617
- upstream bug report: https://tracker.ceph.com/issues/43583
+ This can cause the bucket not able to abort the multipart upload and leave the stale multiple entries behind.
+ https://tracker.ceph.com/issues/43583

** Patch added: "bionic.debdiff"
   https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1868364/+attachment/5390343/+files/bionic.debdiff

** Tags added: sts sts-sru-needed

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ceph in Ubuntu.
https://bugs.launchpad.net/bugs/1868364

Title:
  rgw: unable to abort multipart upload after the bucket got resharded

Status in ceph package in Ubuntu:
  Fix Released
Status in ceph source package in Bionic:
  Triaged

Bug description:
  [Impact]
  This bug will cause the bucket not able to abort the multipart upload and leaving the stale multiple entries behind for those buckets which had partial multipart uploads before the resharding.

  [Test Case]
  Deploy a latest luminous(12.2.13) ceph cluter
  Create a bucket
  upload a big file (200M+) to that bucket
  Press "Ctrl + C" after several part (each part is 15M) had been uploaded
  Manually reshard the bucket to 4 shards
  Abort the multipart uploading
  Without the fix, you will not able to abort the previous uploading

  [Regression Potential]
  Low - this fix has been accept upstream in later releases since from Mimic.

  [Original Bug Report]
  There is a bug during the resharding for those multipart entries.
  For all the multipart entries, the hash source should be the object name so that all those entries can still be
  distributed to one same bucket index shard object.
  Right now the code just calculate the shard id based on each entry's name, which is wrong
  This can cause the bucket not able to abort the multipart upload and leave the stale multiple entries behind.
  https://tracker.ceph.com/issues/43583

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1868364/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list