]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ReplicatedPG::wait_for_degraded_object: only recover if found 1387/head
authorSamuel Just <sam.just@inktank.com>
Wed, 5 Mar 2014 23:51:10 +0000 (15:51 -0800)
committerSamuel Just <sam.just@inktank.com>
Wed, 5 Mar 2014 23:51:53 +0000 (15:51 -0800)
Fixes: #7618
Signed-off-by: Samuel Just <sam.just@inktank.com>
src/osd/ReplicatedPG.cc

index d031256261a57623e5b3028a6c5eefcfcbd106b0..8a1d7b19f7c1878a5e5a8bcfce7274397809e6ba 100644 (file)
@@ -459,6 +459,11 @@ void ReplicatedPG::wait_for_degraded_object(const hobject_t& soid, OpRequestRef
            << soid 
            << ", already recovering"
            << dendl;
+  } else if (missing_loc.is_unfound(soid)) {
+    dout(7) << "degraded "
+           << soid
+           << ", still unfound, waiting"
+           << dendl;
   } else {
     dout(7) << "degraded " 
            << soid