]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix unwatch crash at radosgw startup 53691/head
authorlichaochao <lichaochao2_yewu@cmss.chinamobile.com>
Wed, 27 Sep 2023 10:06:34 +0000 (12:06 +0200)
committerlichaochao <lichaochao2_yewu@cmss.chinamobile.com>
Wed, 27 Sep 2023 10:06:41 +0000 (12:06 +0200)
commitacd43489038495899c1fc4f1e719b19e8b842ca1
treebd0ccfaba9b5b66cd363a2d280cc422e0ceed3fb
parent0f539cd0113d7d09a77172608f45c48903ec9d9a
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>
src/rgw/services/svc_notify.cc