]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd/main: handle and rethrow exception in fetch_config()
authorKefu Chai <kchai@redhat.com>
Sat, 29 May 2021 06:48:11 +0000 (14:48 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 29 May 2021 08:48:44 +0000 (16:48 +0800)
commit6eba570dbce495bbcac06d4525e0da456dfe69c2
tree06f8e7ed0807a2bfa90d0df87752e423ab997507
parent3681c6c71607ba66e6970845891c0f772f8dee04
crimson/osd/main: handle and rethrow exception in fetch_config()

print more verbose error message when monc fails to connect to moitor.
for better user experience.

also, unregister all dispatchers by calling msgr->stop() before calling
monc.stop() to ensure the messenger can be shutdown gracefully.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/main.cc