Project

General

Profile

Actions

Bug #19961

open

luminous: rgw: leaked _shadow_ zero size tail objects if whole object size is multiple of rgw_max_chunk_size

Added by Aleksei Gutikov almost 7 years ago. Updated almost 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

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

Description

If s3 object size is multible of rgw_max_chunk_size
then after deletion and after gc completes
last shadow object with zero size left in data pool.

Reproduce with development cluster:

$ ../src/vstart.sh -k -d -n -x --rgw_num 1

$ s3cmd mb s3://1111

$ s3cmd put ./test8.raw s3://1111/test8-3.raw

$ ./bin/rados ls -p default.rgw.buckets.data
6a10c2e0-d57f-4e33-803c-75d05942eded.4140.1__shadow_.P1JHXrqFV1onSIAchX7NLTySLPDCR1a_2
6a10c2e0-d57f-4e33-803c-75d05942eded.4140.1__shadow_.P1JHXrqFV1onSIAchX7NLTySLPDCR1a_1
6a10c2e0-d57f-4e33-803c-75d05942eded.4140.1_test8-3.raw

$ s3cmd rm s3://1111/test8-3.raw

After gc completes

$ ./bin/rados ls -p default.rgw.buckets.data
6a10c2e0-d57f-4e33-803c-75d05942eded.4140.1__shadow_.P1JHXrqFV1onSIAchX7NLTySLPDCR1a_2

Actions #1

Updated by Aleksei Gutikov almost 7 years ago

Fixed in v12.0.3

Actions

Also available in: Atom PDF