]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: use cluster msgr to share map with old hb peers
authorSage Weil <sage@newdream.net>
Thu, 26 Aug 2010 18:29:09 +0000 (11:29 -0700)
committerSage Weil <sage@newdream.net>
Thu, 26 Aug 2010 19:33:11 +0000 (12:33 -0700)
src/osd/OSD.cc

index 43680820b38825ea1e34c6834dd58d27e6645cfa..5a00de1918b9e8db2f429651e06caaf8c54d8068 100644 (file)
@@ -1257,7 +1257,7 @@ void OSD::update_heartbeat_peers()
        // share latest map with this peer (via the cluster link, NOT
        // the heartbeat link), so they know not to expect heartbeats
        // from us.  otherwise they may mark us down!
-       _share_map_outgoing(osdmap->get_inst(p->first));
+       _share_map_outgoing(osdmap->get_cluster_inst(p->first));
       }
     }
   }