]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: trim no-longer-exist failure reporters 30904/head
authorsu_nan@inspur.com <su_nan@inspur.com>
Fri, 6 Sep 2019 02:20:42 +0000 (10:20 +0800)
committerNathan Cutler <ncutler@suse.com>
Mon, 14 Oct 2019 12:54:13 +0000 (14:54 +0200)
commitd415b4c7ba12e8da6700abb4d6af8bcafad68de9
tree667cf9ad51b7bf7921a0522b443ee89c027c462c
parent6bd64f37f60816660a82db0da2abcc49f30d9ddd
mon/OSDMonitor: trim no-longer-exist failure reporters

remove the report from failure_info in OSDMonitor::check_failure(), if
the reporter does not exist in the osdmap any longer. otherwise, we will
run into assert() failure when trying to lookup the osd in osdmap using
`osdmap.get_xinfo()`.

Fixes: https://tracker.ceph.com/issues/41680
Signed-off-by: NancySu05 <su_nan@inspur.com>
(cherry picked from commit 99ccc166ede5f296b86abfe9db0a3d597100edde)
src/mon/OSDMonitor.cc