The intent is to permit tracing of the bucket processing scheduler, without
expiring or transitioning any objects.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
default: true
services:
- rgw
- with_legacy: true
\ No newline at end of file
+ with_legacy: true
+- name: rgwlc_skip_bucket_step
+ type: bool
+ level: advanced
+ desc: Conditionally skip the processing (but not the scheduling) of bucket lifecycle
+ default: false
+ services:
+ - rgw
+ with_legacy: true
string bucket_tenant = result[0];
string bucket_name = result[1];
string bucket_marker = result[2];
+
+ ldpp_dout(this, 5) << "RGWLC::bucket_lc_process ENTER " << bucket_name << dendl;
+ if (unlikely(cct->_conf->rgwlc_skip_bucket_step)) {
+ return 0;
+ }
+
int ret = store->get_bucket(this, nullptr, bucket_tenant, bucket_name, &bucket, null_yield);
if (ret < 0) {
ldpp_dout(this, 0) << "LC:get_bucket for " << bucket_name