Hi,
I am uisng 15.2.7 on CentOS 8.1. I have a number of old buckets that are listed with
# radosgw-admin metadata list bucket.instance
but are not listed with:
# radosgw-admin bucket list
Lets say that one of them is:
'old-bucket' and its instance is
'c100feda-5e16-48a4-b908-7be61aa877ef.123.1'
The bucket/instance is empty:
# radosgw-admin bucket list --bucketĀ old-bucket --bucket-id
c100feda-5e16-48a4-b908-7be61aa877ef.123.1[]
Again, if I ist the index pool I see the .dir object:
# rados -p <indexpoool> ls | grep
c100feda-5e16-48a4-b908-7be61aa877ef.dir.c100feda-5e16-48a4-b908-7be61aa877ef.123.1.N (an
N for each shard)
I THINK I can delete these old indices with the following two commands
# radosgw-admin bi purge --bucket old-bucket --bucket-id
c100feda-5e16-48a4-b908-7be61aa877ef.123.1# radosgw-admin metadata rm
bucket.instance:old-bucket:c100feda-5e16-48a4-b908-7be61aa877ef.123.1
Am I correct? What if I have another zone in a multi site configuration? Will this suffice
to remove the indices from both sites? I thought I better check herebefore doing this and
causing myself grief. Thanks!
-Chris
Show replies by date