]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/multisite: metadata sync only retries on errors 44078/head
authorCasey Bodley <cbodley@redhat.com>
Tue, 23 Nov 2021 20:44:03 +0000 (15:44 -0500)
committerCasey Bodley <cbodley@redhat.com>
Thu, 13 Jan 2022 16:20:12 +0000 (11:20 -0500)
commit195316cd9a5f4e85405df9f4cf0956913b5af086
treecb10909397e285e54438bae2c5397bd66c2fd6e0
parent8a293c21f249ead1ab59aa6b9e64cda7db5fa53b
rgw/multisite: metadata sync only retries on errors

in 866d66b8749b28ec626a8d0adba3d14fdd8abead, metadata sync was fixed to
retry on error codes other than EAGAIN/ECANCELED. but this change caused
us to retry on success as well, which means we send 10 GET requests for
each piece of metadata, and write it to rados 10 times

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