Project

General

Profile

Actions

Bug #19507

open

Can't delete the manifest data of objects

Added by chuang he about 7 years ago. Updated about 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:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

steps:
1.s3cmd mb s3://bucket1
2.s3cmd mb s3://bucket2
3.s3cmd put 7M s3://bucket1
4.s3cmd cp s3://bucket1/7M s3://bucket2/7M-1
5.s3cmd rm s3://bucket2/7M-1
6.s3cmd rm s3://bucket1/7M

rgw.log:
2017-04-06 15:24:58.564749 7f67f9c5f700 0 gc::process: removing default.rgw.buckets.data:ceea416a-2bb2-4d10-aa1e-d882ee4be710.4162.1__shadow_.N3RLSocR28lhoiouW27aMzpzbz5e7_h_1
2017-04-06 15:25:28.945211 7f67f9c5f700 0 gc::process: removing default.rgw.buckets.data:ceea416a-2bb2-4d10-aa1e-d882ee4be710.4162.1__shadow_.N3RLSocR28lhoiouW27aMzpzbz5e7_h_1

But this object is not to be deleted.
#bin/rados -p default.rgw.buckets.data ls
2017-04-06 15:25:59.318808 7f18f5642880 -1 WARNING: all dangerous and experimental features are enabled.
2017-04-06 15:25:59.319296 7f18f5642880 -1 WARNING: all dangerous and experimental features are enabled.
2017-04-06 15:25:59.359345 7f18f5642880 -1 WARNING: all dangerous and experimental features are enabled.
ceea416a-2bb2-4d10-aa1e-d882ee4be710.4162.1__shadow_.N3RLSocR28lhoiouW27aMzpzbz5e7_h_1


Files

rgw.log.tar.gz (186 KB) rgw.log.tar.gz rgw.log chuang he, 04/07/2017 04:14 AM
Actions #1

Updated by Orit Wasserman about 7 years ago

  • Assignee set to Orit Wasserman
Actions #2

Updated by Yehuda Sadeh about 7 years ago

  • Assignee deleted (Orit Wasserman)

can you run:

$ radosgw-admin gc list --include-all

and see if the object is still not expired. Can you provide a log with:
debug ms = 1
debug rgw = 20

Thanks

Actions #3

Updated by chuang he about 7 years ago

#bin/radosgw-admin gc list --include-all
2017-04-07 12:04:38.462383 7f5729f826c0 -1 WARNING: all dangerous and experimental features are enabled.
2017-04-07 12:04:38.462674 7f5729f826c0 -1 WARNING: all dangerous and experimental features are enabled.
2017-04-07 12:04:38.501898 7f5729f826c0 -1 WARNING: all dangerous and experimental features are enabled.
2017-04-07 12:04:38.660110 7f5729f826c0 0 WARNING: detected a version of libcurl which contains a bug in curl_multi_wait(). enabling a workaround that may degrade performance slightly.
[]

#bin/rados -p default.rgw.buckets.data ls
2017-04-07 12:06:11.548378 7f1dc1776880 -1 WARNING: all dangerous and experimental features are enabled.
2017-04-07 12:06:11.548685 7f1dc1776880 -1 WARNING: all dangerous and experimental features are enabled.
2017-04-07 12:06:11.588705 7f1dc1776880 -1 WARNING: all dangerous and experimental features are enabled.
23c37a81-019e-4bf4-a802-927c4a2e6441.34100.1__shadow_.tzsNs_HxAjfX6qd8J_mot7U8YxDTWBQ_1

Actions #4

Updated by chuang he about 7 years ago

chuang he wrote:

#bin/radosgw-admin gc list --include-all
2017-04-07 12:04:38.462383 7f5729f826c0 -1 WARNING: all dangerous and experimental features are enabled.
2017-04-07 12:04:38.462674 7f5729f826c0 -1 WARNING: all dangerous and experimental features are enabled.
2017-04-07 12:04:38.501898 7f5729f826c0 -1 WARNING: all dangerous and experimental features are enabled.
2017-04-07 12:04:38.660110 7f5729f826c0 0 WARNING: detected a version of libcurl which contains a bug in curl_multi_wait(). enabling a workaround that may degrade performance slightly.
[]

#bin/rados -p default.rgw.buckets.data ls
2017-04-07 12:06:11.548378 7f1dc1776880 -1 WARNING: all dangerous and experimental features are enabled.
2017-04-07 12:06:11.548685 7f1dc1776880 -1 WARNING: all dangerous and experimental features are enabled.
2017-04-07 12:06:11.588705 7f1dc1776880 -1 WARNING: all dangerous and experimental features are enabled.
23c37a81-019e-4bf4-a802-927c4a2e6441.34100.1__shadow_.tzsNs_HxAjfX6qd8J_mot7U8YxDTWBQ_1

I found that the tag of cls_refcount_get() is not equal to RGW_ATTR_ID_TAG

Actions

Also available in: Atom PDF