]> 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... 2711/head
authorGuang Yang <yguang@yahoo-inc.com>
Mon, 13 Oct 2014 04:18:45 +0000 (04:18 +0000)
committerGuang Yang <yguang@yahoo-inc.com>
Mon, 13 Oct 2014 04:18:45 +0000 (04:18 +0000)
Signed-off-by: Guang Yang <yguang@yahoo-inc.com>
src/osd/PG.cc

index c9cb75645ce6913eb250769b58ca78d5cc89c5b6..49752edfdd22f7cfcf4b218491884bd3a53cd818 100644 (file)
@@ -1895,7 +1895,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);