Project

General

Profile

Actions

Bug #10295

closed

rgw deleting S3 objects leaves __shadow_ objects behind

Added by Richard Chan over 9 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Urgent
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
hammer, firefly
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Using 0.80.7, observed also on .87, .89

1. Create 100 objects 10MB ea in rgw.
2. Observe that .rgw.buckets occupies 1GB data (as expected).
3. Delete all 100 objects.

4. rgw is now empty
  1. radosgw-admin bucket list --bucket=test
    []

5. Space occupied is unexpectedly high.

rados df:    .rgw.buckets           11     959M         0         7447G         303

There are 303 objects with names like default.4209.1__shadow_.cC7M_LMTe8oNgWoGZOiNCiJco9cEEOl_1

ceph df: the object store is basically empty but 3GB RAW is used
GLOBAL:
SIZE AVAIL RAW USED %RAW USED
22345G 22342G 3126M 0.01
POOLS:
NAME ID USED %USED MAX AVAIL OBJECTS
data 0 0 0 7447G 0
metadata 1 0 0 7447G 0
rbd 2 0 0 7447G 0
.rgw.root 3 840 0 7447G 3
.rgw.control 4 0 0 7447G 8
.rgw 5 331 0 7447G 2
.rgw.gc 6 0 0 7447G 521
.users.uid 7 1341 0 7447G 5
.users.email 8 43 0 7447G 4
.users 9 43 0 7447G 4
.rgw.buckets.index 10 0 0 7447G 1
.rgw.buckets 11 959M 0 7447G 303
12 0 0 7447G 0


Files

config_show.txt (27.2 KB) config_show.txt config show on radosgw host Richard Chan, 12/15/2014 09:02 AM
saturn-conf.txt (887 Bytes) saturn-conf.txt Richard Chan, 12/15/2014 05:35 PM
access_log (274 Bytes) access_log Apache access log Richard Chan, 12/16/2014 04:23 PM
client.radosgw.gw1.log (1.53 MB) client.radosgw.gw1.log rgw log Richard Chan, 12/16/2014 04:23 PM
client.radosgw.gw1.log (2.32 MB) client.radosgw.gw1.log Working gc civetweb rgw log Richard Chan, 12/16/2014 04:35 PM
client.radosgw.gw1.log (1.21 MB) client.radosgw.gw1.log civetweb bad gc Richard Chan, 12/16/2014 05:06 PM
client.radosgw.gw1.log (1.74 MB) client.radosgw.gw1.log gc list mix civetweb/fastcgi Richard Chan, 12/16/2014 05:44 PM
client.radosgw.gw1.log (2.51 MB) client.radosgw.gw1.log test case rgw log Richard Chan, 12/16/2014 06:13 PM
12.png (99.3 KB) 12.png Jiang Yu, 01/22/2016 08:23 AM
13.png (7.3 KB) 13.png Jiang Yu, 01/22/2016 08:24 AM
14.png (1.54 KB) 14.png Jiang Yu, 01/22/2016 08:25 AM

Related issues 2 (0 open2 closed)

Copied to rgw - Backport #11719: rgw deleting S3 objects leaves __shadow_ objects behindResolvedSage Weil12/11/2014Actions
Copied to rgw - Backport #11720: rgw deleting S3 objects leaves __shadow_ objects behindResolvedOrit Wasserman12/11/2014Actions
Actions

Also available in: Atom PDF