From 9b18d99817c8b54e30dff45047dfe1b29871d659 Mon Sep 17 00:00:00 2001 From: Samuel Just Date: Thu, 9 Oct 2014 16:21:18 -0700 Subject: [PATCH] PG::choose_acting: in mixed cluster case, acting may include backfill Fixes: 9696 Backport: firefly, giant Introduced: 92cfd370395385ca5537b5bc72220934c9f09026 Signed-off-by: Samuel Just --- src/osd/PG.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/osd/PG.cc b/src/osd/PG.cc index 7ef000ee1b1a7..c9cb75645ce69 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -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 -- 2.39.5