Commit 4e730d0
committed
rgw: disable RGWDataChangesLog::add_entry() when log_data is off
this restores a check for RGWZone::log_data in add_entry(). with
per-bucket replication, this check was replaced by a call to
`RGWBucketSyncPolicyHandler::bucket_exports_data()`
this call has to consult two rados objects,
`bucket.sync-source-hints.<bucketname>` and
`bucket.sync-target-hints.<bucketname>`
but if the zone is not configured for multisite, we should avoid these
extra object reads and return early
Fixes: https://tracker.ceph.com/issues/61300
Signed-off-by: Casey Bodley <[email protected]>1 parent 2727096 commit 4e730d0
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
640 | 640 | | |
641 | 641 | | |
642 | 642 | | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
643 | 647 | | |
644 | 648 | | |
645 | 649 | | |
| |||
0 commit comments