]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
The fix for issue 9614 was not completed, as a result, for those erasure coded PGs... 5044/head
authorGuang Yang <yguang@yahoo-inc.com>
Mon, 13 Oct 2014 04:18:45 +0000 (04:18 +0000)
committerNathan Cutler <ncutler@suse.com>
Mon, 22 Jun 2015 12:58:46 +0000 (14:58 +0200)
Signed-off-by: Guang Yang <yguang@yahoo-inc.com>
(cherry picked from commit 35bbb2d6002b1b435ff0b1df653cc7ab271f9258)

src/osd/PG.cc

index b9e9b1c871975846d23afb4b2c1e7e5b1b65e6fe..dc18aec3b69ed0e1dccb08726e5d0d0693f49811 100644 (file)
@@ -1874,7 +1874,7 @@ void PG::mark_clean()
 {
   // only mark CLEAN if we have the desired number of replicas AND we
   // are not remapped.
-  if (acting.size() == get_osdmap()->get_pg_size(info.pgid.pgid) &&
+  if (actingset.size() == get_osdmap()->get_pg_size(info.pgid.pgid) &&
       up == acting)
     state_set(PG_STATE_CLEAN);