]> 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 19:50:18 +0000 (15:50 -0400)
commitff248d7ed94cc441a2e7f3254cb8c0d53d3997d1
tree13247d69c23c462ebcc53221f0ef4c1eebc7d276
parent8950b15c1bbd2d6a408a787a35500ee63616f905
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/70526
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/rgw/services/svc_notify.cc