]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: skip unfound in recover_replicas
authorSage Weil <sage@newdream.net>
Mon, 15 Nov 2010 20:06:09 +0000 (12:06 -0800)
committerSage Weil <sage@newdream.net>
Mon, 15 Nov 2010 20:06:09 +0000 (12:06 -0800)
This is moot currently, since we don't currently start recovering replicas
until the primary is complete.

Signed-off-by: Sage Weil <sage@newdream.net>
src/osd/ReplicatedPG.cc

index 8d540f26dad461ec048fd54a1cdca10efc89710f..6205b0c1bd0871a3f04e655526ba1420615a6848 100644 (file)
@@ -3828,6 +3828,8 @@ int ReplicatedPG::recover_replicas(int max)
       sobject_t soid = p->second;
       if (pushing.count(soid))
        dout(10) << " already pushing " << soid << dendl;
+      else if (missing.is_missing(soid))
+       dout(10) << " still missing on primary " << soid << dendl;
       else
        started += recover_object_replicas(soid);
     }