]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: Try to handle unwatch errors sensibly
authorAdam C. Emerson <aemerson@redhat.com>
Wed, 12 Mar 2025 15:53:43 +0000 (11:53 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Wed, 19 Mar 2025 20:40:45 +0000 (16:40 -0400)
commitc95ea88269dfdc4d6a5550786ebe223cf9d465c8
tree5935ba73cbe535e2b5351f0cd6c0ab15839a3b16
parent5afba69ebc9a5e5172cce2d5759975f43f772de7
rgw: Try to handle unwatch errors sensibly

IF we get `-ENOENT` from unwatch just stop trying to renew.

Otherwise, schedule retry on watch failure, but add a maximum retry
timeout.

Fixes: https://tracker.ceph.com/issues/70422
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
(cherry picked from commit 34366f0f0d8e13eb8fef1e253794303b699e08b2)

Fixes: https://tracker.ceph.com/issues/70527
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/rgw/services/svc_notify.cc