mirror of
https://github.com/ceph/ceph
synced 2025-01-01 08:32:24 +00:00
Merge pull request #45357 from cbodley/wip-54531
rgw: disable RGWDataChangesLog::add_entry() when log_data is off Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
This commit is contained in:
commit
d104ae541c
@ -603,6 +603,10 @@ std::string RGWDataChangesLog::get_oid(uint64_t gen_id, int i) const {
|
||||
}
|
||||
|
||||
int RGWDataChangesLog::add_entry(const DoutPrefixProvider *dpp, const RGWBucketInfo& bucket_info, int shard_id) {
|
||||
if (!zone->log_data) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
auto& bucket = bucket_info.bucket;
|
||||
|
||||
if (!filter_bucket(dpp, bucket, null_yield)) {
|
||||
|
Loading…
Reference in New Issue
Block a user