]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
PG::choose_acting: in mixed cluster case, acting may include backfill 2684/head
authorSamuel Just <sam.just@inktank.com>
Thu, 9 Oct 2014 23:21:18 +0000 (16:21 -0700)
committerSamuel Just <sam.just@inktank.com>
Thu, 9 Oct 2014 23:21:25 +0000 (16:21 -0700)
Fixes: 9696
Backport: firefly, giant
Introduced: 92cfd370395385ca5537b5bc72220934c9f09026
Signed-off-by: Samuel Just <sam.just@inktank.com>
src/osd/PG.cc

index 7ef000ee1b1a790b2a65f22cf2b8b2d2e7437bd5..c9cb75645ce6913eb250769b58ca78d5cc89c5b6 100644 (file)
@@ -1293,7 +1293,6 @@ bool PG::choose_acting(pg_shard_t &auth_log_shard_id)
     if (*i != CRUSH_ITEM_NONE)
       ++num_want_acting;
   }
-  assert(want_acting_backfill.size() - want_backfill.size() == num_want_acting);
 
   // This is a bit of a problem, if we allow the pg to go active with
   // want.size() < min_size, we won't consider the pg to have been