From 7dc5a7f9aa4a0145031b01e9f05f1dd8e0f820c1 Mon Sep 17 00:00:00 2001 From: Greg Farnum Date: Wed, 20 Apr 2011 10:58:23 -0700 Subject: [PATCH] PGMap: fill in full OSD sets on decode. Previously these sets were only modified when applying an incremental, which might have caused problems when restarting monitors. Whoops! Signed-off-by: Greg Farnum --- src/mon/PGMap.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mon/PGMap.h b/src/mon/PGMap.h index e05e048368be1..acbd84d843af6 100644 --- a/src/mon/PGMap.h +++ b/src/mon/PGMap.h @@ -272,6 +272,8 @@ public: p != osd_stat.end(); ++p) stat_osd_add(p->second); + + redo_full_sets(); } void dump(ostream& ss) const -- 2.39.5