]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: RGWBucket::sync() no longer duplicates datalog/bilog entries wip-rgw-multisite-reshard-prebase-2022-02-09
authorCasey Bodley <cbodley@redhat.com>
Wed, 19 Jan 2022 01:39:37 +0000 (20:39 -0500)
committerCasey Bodley <cbodley@redhat.com>
Tue, 8 Feb 2022 21:32:24 +0000 (16:32 -0500)
commitd0f01cfbb9cb95c75ab709beddf255bd818bf93b
treeed95ba2be7345347ec8fb6af037479d998043f95
parent92fe997ec9ea095efe7344c560045c3a56721bc0
rgw: RGWBucket::sync() no longer duplicates datalog/bilog entries

RGWSI_BucketIndex_RADOS::handle_overwrite() is already writing the
datalog/bilog entries related to BUCKET_DATASYNC_DISABLED

RGWBucket::sync() calls handle_overwrite() indirectly from
bucket->put_info() when it writes the bucket instance with this new
BUCKET_DATASYNC_DISABLED flag, so RGWBucket::sync() shouldn't
duplicate those writes here

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_bucket.cc