Re: Bucket seems not deleted completely in RGW

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hello

AFAIK this behaviour is completly normal, even if data is removed, RGW
keeps bucket index to serve usage statistics ans so on.

And of course there is garbage collection process that removes objects
in processing cycles. You can run it with:
radosgw-admin gc process

best regards!
-- 
pawel

On Mon, Dec 30, 2013 at 8:22 AM, Gao, Wei M <wei.m.gao@xxxxxxxxx> wrote:
> Hello, Anyone who can help clear my doubts? This is important to me. Thanks
> in advance!
>
>
>
> Best Regards
>
> Wei
>
> From: Gao, Wei M
> Sent: Thursday, December 26, 2013 4:25 PM
> To: ceph-users@xxxxxxxxxxxxxx
> Subject: Bucket seems not deleted completely in RGW
>
>
>
> Hello,
>
>
>
> I noticed that when a bucket deleted the some objects related to that bucket
> in pool .rgw and .rgw.buckets (I used default configuration of RGW) weren’t
> deleted. For example, I created a bucket named “test-bucket” and put two
> objects(“test-object” and “test-object2”) into it. After “test-bucket” is
> deleted, .rgw and .rgw.bucekts still have the following objects into them.
> Anyone knows why? Thanks!
>
>
>
> Before deleting:
>
> root@cephmon01:~# rados ls -p .rgw
>
> .bucket.meta.test-bucket:default.138557.2
>
> .pools.avail
>
> test-bucket
>
>
>
> root@cephmon01:~# rados ls -p .rgw.buckets
>
> .dir.default.138557.2
>
> default.138557.2__shadow__HGg6F2MR00RwsbsXTEHMamjWpDZN0z0_1
>
> default.138557.2_test-object
>
> default.138557.2_test-object2
>
> default.138557.2__shadow__10R4OZryEekUb8CHvL_ChrjBgTGxtE3_1
>
>
>
> After deleting:
>
> root@cephmon01:~# rados ls -p .rgw
>
> .bucket.meta.test-bucket:default.138557.2
>
> .pools.avail
>
>
>
> root@cephmon01:~# rados ls -p .rgw.buckets
>
> .dir.default.138557.2
>
> default.138557.2__shadow__10R4OZryEekUb8CHvL_ChrjBgTGxtE3_1
>
> default.138557.2__shadow__HGg6F2MR00RwsbsXTEHMamjWpDZN0z0_1
>
>
>
> Best Regards
>
> Wei
>
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com





[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux