This may address #1732 indirectly because we have a Connection* reference
here. However, it's still not clear how we ended up with an OSDSession*
for an osd that doesn't exist. :/
Signed-off-by: Sage Weil <sage@newdream.net>
for (set<OSDSession*>::iterator i = toping.begin();
i != toping.end();
i++)
- messenger->send_message(new MPing, osdmap->get_inst((*i)->osd));
+ messenger->send_message(new MPing, (*i)->con);
}
// reschedule