]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/Mgr: remove shutdown() and handle_signal() 54319/head
authorRamana Raja <rraja@redhat.com>
Thu, 2 Nov 2023 18:38:02 +0000 (14:38 -0400)
committerRamana Raja <rraja@redhat.com>
Fri, 3 Nov 2023 13:52:08 +0000 (09:52 -0400)
commitdd9f9e268b5562bae8972bce03ec0970f353ae14
tree1303795cc88da8a34392092b6475e4f9c660d0bf
parent50ff870c24481d820efa3396a38402f36e17df82
mgr/Mgr: remove shutdown() and handle_signal()

Mgr::shutdown() and Mgr::handle_signal() are never called since
3363a10. The mgr just exits on SIGINT or SIGTERM.

Also found and removed other unreachable code associated with
shutdown in mgr codebase.

Fixes: https://tracker.ceph.com/issues/63410
Signed-off-by: Ramana Raja <rraja@redhat.com>
12 files changed:
src/mgr/ActivePyModules.cc
src/mgr/ActivePyModules.h
src/mgr/ClusterState.cc
src/mgr/ClusterState.h
src/mgr/DaemonServer.cc
src/mgr/DaemonServer.h
src/mgr/Mgr.cc
src/mgr/Mgr.h
src/mgr/MgrStandby.cc
src/mgr/MgrStandby.h
src/mgr/PyModuleRegistry.cc
src/mgr/PyModuleRegistry.h