]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
PGMap: fill in full OSD sets on decode.
authorGreg Farnum <gregory.farnum@dreamhost.com>
Wed, 20 Apr 2011 17:58:23 +0000 (10:58 -0700)
committerGreg Farnum <gregory.farnum@dreamhost.com>
Wed, 20 Apr 2011 17:58:23 +0000 (10:58 -0700)
Previously these sets were only modified when applying an incremental,
which might have caused problems when restarting monitors. Whoops!

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
src/mon/PGMap.h

index e05e048368be1be20e660a2b864ad4c8d49cbbb1..acbd84d843af6eea3de597ce9d5214c5dc36cccd 100644 (file)
@@ -272,6 +272,8 @@ public:
         p != osd_stat.end();
         ++p)
       stat_osd_add(p->second);
+
+    redo_full_sets();
   }
 
   void dump(ostream& ss) const