[ceph-users] Safe to remove objects from default.rgw.meta ?

Dan van der Ster dan at vanderster.com
Tue Mar 12 08:00:06 PDT 2019

Answering my own question (getting help from Pavan), I see that all
the details are in this PR: https://github.com/ceph/ceph/pull/11051

So, the zone was updated to set metadata_heap: "" with

$ radosgw-admin zone get --rgw-zone=default > zone.json
[edit zone.json]
$ radosgw-admin zone set --rgw-zone=default --infile=zone.json

and now I can safely remove the default.rgw.meta pool.

-- Dan

On Tue, Mar 12, 2019 at 3:17 PM Dan van der Ster <dan at vanderster.com> wrote:
> Hi all,
> We have an S3 cluster with >10 million objects in default.rgw.meta.
> # radosgw-admin zone get | jq .metadata_heap
> "default.rgw.meta"
> In these old tickets I realized that this setting is obsolete, and
> those objects are probably useless:
>    http://tracker.ceph.com/issues/17256
>    http://tracker.ceph.com/issues/18174
> We will clear the metadata_heap setting in the zone json, but then can
> we simply `rados rm` all the objects in the default.rgw.meta pool?
> The objects seem to come in three flavours:
>    .meta:user:dvanders:_KpWMw94jrX75PgAfhDymKTo:2
>    .meta:bucket:atlas-eventservice:_byPmpJS9V9l7DULEVxlDC2A:1
>    .meta:bucket.instance:atlas-eventservice:61c59385-085d-4caa-9070-63a3868dccb6.3191998.599860:_PQCKPJVTzvtwgU41Dw0Cdx6:1
> Cheers, Dan

More information about the ceph-users mailing list