From 19afe11cc5d398de894ea5dd57b8ca2a8e5e45d9 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 8 Feb 2011 07:54:17 -0800 Subject: [PATCH] osd: fix no missing inferance Add missing continue in last_update==last_complete (no missing) case. Signed-off-by: Sage Weil --- src/osd/PG.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/osd/PG.cc b/src/osd/PG.cc index 237a8beb60055..8f723c04f9c3b 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -1633,6 +1633,7 @@ void PG::do_peer(ObjectStore::Transaction& t, list& tfin, if (pi.last_update == pi.last_complete) { dout(10) << " infering no missing (last_update==last_complete) for osd" << peer << dendl; peer_missing[peer].num_missing(); // just create the entry. + continue; } else { dout(10) << " still need log+missing from osd" << peer << dendl; have_all_missing = false; -- 2.39.5