On Sat, Jul 14, 2012 at 6:45 AM, 蔡權昱 <chua...@cs.nctu.edu.tw> wrote: > Hello everyone, > > I try to use radosgw to supply s3/swift storage, > > everything is fine, but I found that something strange > > after deleting a container/bucket from radosgw, > > the following are commands I ran: > > 1. check the pool empty or not > $ rados --pool=.rgw ls | grep -v "^\." ; echo ============; rados > --pool=.rgw.buckets ls > ============ > > 2. create a container "buck1" > $ swift -A http://volume/auth -U account -K key post buck1 > > 3. show created objs in ceph > $ rados --pool=.rgw ls | grep -v "^\." ; echo ============; rados > --pool=.rgw.buckets ls > 9352.10 > buck1 > ============ > .dir.9352.10 > > 4. delete "buck1" > swift -A http://volume/auth -U account -K key delete buck1 > > 5. show objs in ceph > $ rados --pool=.rgw ls | grep -v "^\." ; echo ============; rados > --pool=.rgw.buckets ls > 9352.10 > > Then, the object '9352.10' seems like be leaved in pool forever ? > I have tried create & delete bucket by s3lib, too, > and the result is the same. > > However, the function works fine, > I just want to know is this a normal case? >
This is normal, though we modified this behavior recently, so you shouldn't see that in the next versions. We used to keep the bucket index by bucket instance id for archival and also for usage processing. Yehuda -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html