]> git-server-git.apps.pok.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, 12 Mar 2025 17:09:42 +0000 (13:09 -0400)
commit34366f0f0d8e13eb8fef1e253794303b699e08b2
tree20b1575cc7c3c6edfa976a1bc616b7e86f42ff8c
parenta1576c0a81232e7561b59d972c8abc802c5ec6ec
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>
src/rgw/services/svc_notify.cc