From c5fd2d043ed4aa4fdb60fc19a284f51a86cef408 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 (cherry picked from commit 9b18d99817c8b54e30dff45047dfe1b29871d659) --- src/osd/PG.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/osd/PG.cc b/src/osd/PG.cc index 11a34a283082a..9356df49414be 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -1281,7 +1281,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