]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: remove bad osdmap access
authorSage Weil <sage@newdream.net>
Mon, 27 Jul 2009 23:13:34 +0000 (16:13 -0700)
committerSage Weil <sage@newdream.net>
Tue, 28 Jul 2009 18:18:49 +0000 (11:18 -0700)
osd may not exist

src/osd/OSD.cc

index 19cd9f049080aefcddca6b05acb0f909c221a9fb..ad01b62961bce3e6aee8df8f990990d13edd5ec1 100644 (file)
@@ -1149,7 +1149,7 @@ void OSD::heartbeat()
        dout(10) << "not checking timeout on osd" << p->first
                 << " whose up " << osdmap->is_up(p->first)
                 << " != 1 || hb inst " << heartbeat_inst[p->first]
-                << " != map's " << osdmap->get_inst(p->first)
+                << " != map's "
                 << dendl;
       } else if (heartbeat_from_stamp[p->first] < grace) {
        dout(0) << "no heartbeat from osd" << p->first