]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/multisite: avoid redundant error repo entry logging 59580/head
authorShilpa Jagannath <smanjara@redhat.com>
Tue, 3 Sep 2024 07:16:09 +0000 (03:16 -0400)
committerShilpa Jagannath <smanjara@redhat.com>
Thu, 26 Sep 2024 17:39:20 +0000 (13:39 -0400)
commita191f9a6d2997f655f580e16731615e77350a03d
treed684675add66f7a4d547c905f26883d2b0436bc4
parent73a383fdf3961f9a7208a3bb7b14de2b2048fd77
rgw/multisite: avoid redundant error repo entry logging

in bucket incremental sync, if a generation other than the current generation is requested,
we mark it with -EAGAIN and retry in error repo in RGWDataSyncSingleEntry(). within this block,
we check if that requested generation is lesser than the current gen, write it to error repo,
set -EAGAIN and write it to error repo in the outer function once again. don't duplicate error
repo entry addition for this condition.

Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
src/rgw/driver/rados/rgw_data_sync.cc