From b0eb94de37cd6903ed7db106f388bf52672487e6 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 21 Nov 2008 13:30:27 -0800 Subject: [PATCH] mon: send osdmap to _original_ PGStats source ..not the most recent sender, which may be another monitor. --- src/mon/PGMonitor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mon/PGMonitor.cc b/src/mon/PGMonitor.cc index 7a6b3aec6151e..74aa20419991f 100644 --- a/src/mon/PGMonitor.cc +++ b/src/mon/PGMonitor.cc @@ -257,7 +257,7 @@ bool PGMonitor::preprocess_pg_stats(MPGStats *stats) // only if they've had the map for a while. if (stats->had_map_for > 10.0 && stats->epoch < mon->osdmon->osdmap.get_epoch()) - mon->osdmon->send_latest(stats->get_source_inst(), stats->epoch+1); + mon->osdmon->send_latest(stats->get_orig_source_inst(), stats->epoch+1); // any new osd or pg info? if (pg_map.osd_stat.count(from) || -- 2.39.5