]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/services: don't allocate RGWSI_Notify unless its used
authorCasey Bodley <cbodley@redhat.com>
Tue, 7 Oct 2025 16:07:13 +0000 (12:07 -0400)
committerCasey Bodley <cbodley@redhat.com>
Thu, 9 Oct 2025 15:00:47 +0000 (11:00 -0400)
commit3b7b7dae9b76a0666d47302f031a305604eeddc4
tree21884df54021bf4fc8b020d34a17d24c08a07356
parent137d2094a456c8ff828b8953785eff415c2acd1c
rgw/services: don't allocate RGWSI_Notify unless its used

avoid allocating, initializing, and shutting down RGWSI_Notify if we
aren't going to start or use it

calling RGWSI_Notify::shutdown() without first calling
RGWSI_Notify::do_start() aborts in Finisher::stop() with:
> ceph_abort_msg("join on thread that was never started")

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/driver/rados/rgw_service.cc