]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: trim no-longer-exist failure reporters 30903/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>
Tue, 15 Oct 2019 07:57:37 +0000 (09:57 +0200)
commit4e54d4231d2c1cd3e0da5e643a394cefe812b338
tree03f6bc9b5bcdbc293a857ca9e86875b2c61ea510
parente78333157fbdbae5bc9141e7d6fa407ddcba4104
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)

Conflicts:
src/mon/OSDMonitor.cc
- ceph_assert, g_conf()
src/mon/OSDMonitor.cc