]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: write full maps out outside of advance_map transaction
authorSage Weil <sage@newdream.net>
Mon, 9 Jun 2008 18:03:55 +0000 (11:03 -0700)
committerSage Weil <sage@newdream.net>
Mon, 9 Jun 2008 23:50:53 +0000 (16:50 -0700)
src/osd/OSD.cc

index a5092786b5ad848b0396db643e3bbc072cec0be8..a7d070cd568053aa3c3a50681f124b27a65ba0b9 100644 (file)
@@ -1480,7 +1480,7 @@ void OSD::handle_osd_map(MOSDMap *m)
       // archive the full map
       bl.clear();
       osdmap->encode(bl);
-      t.write(0, get_osdmap_pobject_name(cur+1), 0, bl.length(), bl);
+      store->write(0, get_osdmap_pobject_name(cur+1), 0, bl.length(), bl, 0);
 
       // notify messenger
       for (map<int32_t,uint8_t>::iterator i = inc.new_down.begin();