mirror of
https://github.com/ceph/ceph
synced 2026-08-01 22:45:39 +00:00
rgw/bilog/trim: (non-functional) set some bilog trim events to level 1
Raise a few low-frequency, high-signal bilog trim events so they are visible at the default log level: Trim pace is bounded by the rgw trim config options and these events fire at most once per bucket or once per trim cycle, so they are not expected to be chatty. Signed-off-by: Oguzhan Ozmen <oozmen@bloomberg.net>
This commit is contained in:
parent
90f7bff07c
commit
80f203ee2a
@ -806,7 +806,7 @@ inline int parse_decode_json<StatusShards>(
|
||||
int BucketTrimInstanceCR::operate(const DoutPrefixProvider *dpp)
|
||||
{
|
||||
reenter(this) {
|
||||
ldpp_dout(dpp, 4) << "starting trim on bucket=" << bucket_instance << dendl;
|
||||
ldpp_dout(dpp, 1) << "starting trim on bucket=" << bucket_instance << dendl;
|
||||
|
||||
get_policy_params.zone = zone_id;
|
||||
get_policy_params.bucket = bucket;
|
||||
@ -1382,7 +1382,7 @@ int BucketTrimCR::operate(const DoutPrefixProvider *dpp)
|
||||
|
||||
// trim bucket instances with limited concurrency
|
||||
set_status("trimming buckets");
|
||||
ldpp_dout(dpp, 4) << "collected " << buckets.size() << " buckets for trim" << dendl;
|
||||
ldpp_dout(dpp, 1) << "collected " << buckets.size() << " buckets for trim" << dendl;
|
||||
yield call(new BucketTrimInstanceCollectCR(store, http, observer, buckets,
|
||||
config.concurrent_buckets, dpp));
|
||||
// ignore errors from individual buckets
|
||||
@ -1417,7 +1417,7 @@ int BucketTrimCR::operate(const DoutPrefixProvider *dpp)
|
||||
return set_cr_error(retcode);
|
||||
}
|
||||
|
||||
ldpp_dout(dpp, 4) << "bucket index log processing completed in "
|
||||
ldpp_dout(dpp, 1) << "bucket index log processing completed in "
|
||||
<< ceph::mono_clock::now() - start_time << dendl;
|
||||
return set_cr_done();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user