From: Sage Weil Date: Mon, 17 Feb 2014 04:53:13 +0000 (-0800) Subject: osd/ReplicatedPG: allow is_degraded_object() to be called outside of backfil X-Git-Tag: v0.78~166^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2a19a1bebe2940c41d70c6fcda64098e0f151072;p=ceph.git osd/ReplicatedPG: allow is_degraded_object() to be called outside of backfil The agent does this. Signed-off-by: Sage Weil --- diff --git a/src/osd/ReplicatedPG.cc b/src/osd/ReplicatedPG.cc index 5fdcc3a1f91d..68c5e2e985d7 100644 --- a/src/osd/ReplicatedPG.cc +++ b/src/osd/ReplicatedPG.cc @@ -389,7 +389,6 @@ bool ReplicatedPG::is_degraded_object(const hobject_t& soid) { if (pg_log.get_missing().missing.count(soid)) return true; - assert(actingbackfill.size() > 0); for (unsigned i = 1; i < actingbackfill.size(); i++) { int peer = actingbackfill[i]; if (peer_missing.count(peer) &&