]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/multisite-notification: retry storing bucket notification attrs for ECANCELED... 57242/head
authorkchheda3 <kchheda3@bloomberg.net>
Fri, 19 Apr 2024 14:59:13 +0000 (10:59 -0400)
committerCasey Bodley <cbodley@redhat.com>
Thu, 2 May 2024 15:29:29 +0000 (11:29 -0400)
commita5699661e76022b6c7306aebd5380ee6f67a1ddc
tree9021854ebedc1cf91bb947516f3caa7e1457eb6e
parent9ee9a96e02390278ac5205a870d7622039c0a076
rgw/multisite-notification: retry storing bucket notification attrs for ECANCELED(ConcurrentModification) errors.

An ECANCELED error coming from our write of the bucket instance metadat is a common error for metadata writes on secondary zones, because secondary write races with metadata sync from the write that is forwarded to the master zone

Signed-off-by: kchheda3 <kchheda3@bloomberg.net>
(cherry picked from commit 9ca76770434e4dd796afe2c88446f94279919026)
src/rgw/rgw_op.cc
src/rgw/rgw_op.h
src/rgw/rgw_rest_pubsub.cc