]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: trim no-longer-exist failure reporters 30200/head 30232/head
authorsu_nan@inspur.com <su_nan@inspur.com>
Fri, 6 Sep 2019 02:20:42 +0000 (10:20 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 19 Sep 2019 13:41:13 +0000 (21:41 +0800)
commit99ccc166ede5f296b86abfe9db0a3d597100edde
tree441eccb78b91a12dda5bf231443ef885d3dc3974
parent3d7e5b0e3fcf0dda9c664175ce6a0c0f3673a662
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>
src/mon/OSDMonitor.cc