]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: shutdown messenger early to avoid accessing deleted logger 25760/head
authorningtao <ningtao@sangfor.com.cn>
Thu, 3 Jan 2019 15:20:12 +0000 (23:20 +0800)
committerningtao <ningtao@sangfor.com.cn>
Thu, 3 Jan 2019 15:20:12 +0000 (23:20 +0800)
commit47da5a0caa7edec17ff4253e363571b78372506a
tree597e77eee75fdd47560c070b9da0147f54f1660f
parent0e1cdcd94906d0dacf3f8b579a51c91e4e98a9c6
mon: shutdown messenger early to avoid accessing deleted logger

In the monitor shutdown process, the MSG thread exits after the logger is released,
causing the null pointer to be accessed. So move the logger release to the MSG thread after it exits

Fixes: http://tracker.ceph.com/issues/37780
Signed-off-by: ningtao <ningtao@sangfor.com.cn>
src/mon/Monitor.cc