]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix unwatch crash at radosgw startup 53761/head
authorlichaochao <lichaochao2_yewu@cmss.chinamobile.com>
Wed, 27 Sep 2023 10:06:34 +0000 (12:06 +0200)
committerCasey Bodley <cbodley@redhat.com>
Mon, 2 Oct 2023 20:04:53 +0000 (16:04 -0400)
commit74301a9af9c0dd4194bc634d3b48e2687bdb7e28
treed7ccb732d44c485e4a6aeb4fceb3b68be113080b
parent987fa95080ba82385f45e0889919cddc5e2645b0
rgw: fix unwatch crash at radosgw startup

During radosgw initialization, if there is an exception in init_watch that causes the watcher registration to fail,
When finalize_watch is executed, a crash occurs due to unregister an unregistered watch.

Fixes: https://tracker.ceph.com/issues/60094
Signed-off-by: lichaochao <lichaochao2_yewu@cmss.chinamobile.com>
(cherry picked from commit acd43489038495899c1fc4f1e719b19e8b842ca1)
src/rgw/services/svc_notify.cc