mon: send MOSDPGCreate from all mons, not just leader

This ensures they go out to whichever mon the osd is connected to.  Sort
of brute force.  :/
This commit is contained in:
Sage Weil 2009-10-12 10:44:01 -07:00
parent dda342696d
commit c9e053aa06
2 changed files with 1 additions and 3 deletions

View File

@ -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

View 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;
}