]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: send MOSDPGCreate from all mons, not just leader
authorSage Weil <sage@newdream.net>
Mon, 12 Oct 2009 17:44:01 +0000 (10:44 -0700)
committerSage Weil <sage@newdream.net>
Mon, 12 Oct 2009 18:38:56 +0000 (11:38 -0700)
This ensures they go out to whichever mon the osd is connected to.  Sort
of brute force.  :/

src/TODO
src/mon/PGMonitor.cc

index d9cfcac7cf92f022b1ffaba0900022a03724306f..4bb8573096b482fe5040d265edfe416bfef929f0 100644 (file)
--- a/src/TODO
+++ b/src/TODO
@@ -47,7 +47,6 @@ v0.17
   - notify random osd when a map commits?
   - how to tell osds to scrub?
   - send map on MPGStats, sometimes?
-  - pg creates?
 
 - simplify msgr failure model
    mon<->mon lossless, p2p
index cc5f7bb413ceb757bfd41e07b600e663d3a64cdd..b8053fc6c37b61310e3ede3f18c35c09dc43471c 100644 (file)
@@ -139,8 +139,7 @@ bool PGMonitor::update_from_paxos()
       paxosv > 10)
     paxos->trim_to(paxosv - 10);
 
-  if (mon->is_leader())
-    send_pg_creates();
+  send_pg_creates();
 
   return true;
 }