Fixes #13531
Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
dout(10) << "affected_by_map osd." << o << " no longer exists" << dendl;
return true;
}
+ // did a down osd in down get (re)marked as lost?
+ map<int, epoch_t>::const_iterator r = blocked_by.find(o);
+ if (r != blocked_by.end()) {
+ if (osdmap->get_info(o).lost_at != r->second) {
+ dout(10) << "affected_by_map osd." << o << " (re)marked as lost" << dendl;
+ return true;
+ }
+ }
}
return false;