From c9e053aa06a2654be276cb1facba69adeb608813 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 12 Oct 2009 10:44:01 -0700 Subject: [PATCH] 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. :/ --- src/TODO | 1 - src/mon/PGMonitor.cc | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/TODO b/src/TODO index d9cfcac7cf92f..4bb8573096b48 100644 --- 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 diff --git a/src/mon/PGMonitor.cc b/src/mon/PGMonitor.cc index cc5f7bb413ceb..b8053fc6c37b6 100644 --- a/src/mon/PGMonitor.cc +++ b/src/mon/PGMonitor.cc @@ -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; } -- 2.39.5