diff --git a/src/osd/ReplicatedPG.cc b/src/osd/ReplicatedPG.cc index 612dc4a8677bb..e8d395c78f3a9 100644 --- a/src/osd/ReplicatedPG.cc +++ b/src/osd/ReplicatedPG.cc @@ -5842,7 +5842,8 @@ void ReplicatedPG::recover_got(hobject_t oid, eversion_t v) } else { dout(10) << "last_complete now " << info.last_complete << " log.complete_to at end" << dendl; - assert(missing.num_missing() == 0); // otherwise, complete_to was wrong. + //below is not true in the repair case. + //assert(missing.num_missing() == 0); // otherwise, complete_to was wrong. assert(info.last_complete == info.last_update); } }