]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgwlc: optimize single-bucket lifecycle processing
authorMatt Benjamin <mbenjamin@redhat.com>
Tue, 30 Nov 2021 17:42:33 +0000 (12:42 -0500)
committerMatt Benjamin <mbenjamin@redhat.com>
Wed, 1 Dec 2021 19:25:20 +0000 (14:25 -0500)
commitaf11694ad1177a20a896dcba9425697f155aff15
tree51fcdf83f0e088a0b7ae88afe484d36110450ad9
parent9ddc223e63003835a747642b29496df5f5e712f0
rgwlc: optimize single-bucket lifecycle processing

Looks up the shard index of the corresponding bucket, and only
buckets in the corresponding shard are considered for processing.
This has a side effect of matching buckets by id, and also adds
support for --tenant.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
doc/man/8/radosgw-admin.rst
src/rgw/rgw_admin.cc
src/rgw/rgw_lc.cc
src/rgw/rgw_lc.h
src/rgw/rgw_rados.cc
src/rgw/rgw_rados.h