]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
PG: bug fix in is_degraded_or_backfilling_object()
authorNeha Ojha <nojha@redhat.com>
Sat, 27 Jan 2018 01:32:34 +0000 (17:32 -0800)
committerNeha Ojha <nojha@redhat.com>
Wed, 14 Mar 2018 22:56:05 +0000 (15:56 -0700)
Signed-off-by: Neha Ojha <nojha@redhat.com>
src/osd/PrimaryLogPG.cc

index 9310d137b7cd8cfafc8f0a664105ed61bccb1bf3..ebe8f27e3fa2746a4231083af20623714c1b92d4 100644 (file)
@@ -632,7 +632,7 @@ bool PrimaryLogPG::is_degraded_or_backfilling_object(const hobject_t& soid)
     if (peer_missing_entry != peer_missing.end() &&
        peer_missing_entry->second.get_items().count(soid)) {
       if (async_recovery_targets.count(peer))
-       return false;
+       continue;
       else
        return true;
     }