]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: send incremental (not full) map to seed osd cluster with new maps
authorSage Weil <sage@newdream.net>
Wed, 9 Apr 2008 18:10:48 +0000 (11:10 -0700)
committerSage Weil <sage@newdream.net>
Wed, 9 Apr 2008 18:14:43 +0000 (11:14 -0700)
src/mon/OSDMonitor.cc

index e7cc31ba7cb619276ad78982f77b0b09aa3ed232..ce48d6e7f9bdbd98e0aa2958ea3cdfe22173c285 100644 (file)
@@ -250,7 +250,7 @@ void OSDMonitor::committed()
   int r = osdmap.get_any_up_osd();
   if (r >= 0) {
     dout(10) << "committed, telling random osd" << r << " all about it" << dendl;
-    send_latest(osdmap.get_inst(r));
+    send_latest(osdmap.get_inst(r), osdmap.get_epoch() - 1);  // whatev, they'll request more if they need it
   }
 }