Skip to content

Commit

Permalink
Merge pull request ceph#26175 from neha-ojha/wip-37919
Browse files Browse the repository at this point in the history
osd/PG.cc: account for missing set irrespective of last_complete

Reviewed-by: Josh Durgin <[email protected]>
Reviewed By: Xie Xingguo <[email protected]>
  • Loading branch information
neha-ojha authored Jan 30, 2019
2 parents 023b5f6 + e6b1637 commit ead6c22
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/osd/PG.cc
Original file line number Diff line number Diff line change
Expand Up @@ -697,12 +697,10 @@ bool PG::MissingLoc::add_source_info(
<< ")" << dendl;
continue;
}
if (oinfo.last_complete < need) {
if (omissing.is_missing(soid)) {
ldout(pg->cct, 10) << "search_for_missing " << soid << " " << need
<< " also missing on osd." << fromosd << dendl;
continue;
}
if (omissing.is_missing(soid)) {
ldout(pg->cct, 10) << "search_for_missing " << soid << " " << need
<< " also missing on osd." << fromosd << dendl;
continue;
}

ldout(pg->cct, 10) << "search_for_missing " << soid << " " << need
Expand Down

0 comments on commit ead6c22

Please sign in to comment.