Skip to content

Commit

Permalink
Merge pull request #11515 from badone/wip-find_best_info-typos
Browse files Browse the repository at this point in the history
osd: Fix typos in PG::find_best_info

Reviewed-by:  xiexingguo <xie.xingguo@zte.com.cn>
  • Loading branch information
badone committed Oct 17, 2016
2 parents d6557a1 + 125f90b commit 842a152
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/osd/PG.cc
Expand Up @@ -1027,10 +1027,10 @@ map<pg_shard_t, pg_info_t>::const_iterator PG::find_best_info(
// Only consider peers with last_update >= min_last_update_acceptable
if (p->second.last_update < min_last_update_acceptable)
continue;
// disqualify anyone with a too old last_epoch_started
// Disqualify anyone with a too old last_epoch_started
if (p->second.last_epoch_started < max_last_epoch_started_found)
continue;
// Disquality anyone who is incomplete (not fully backfilled)
// Disqualify anyone who is incomplete (not fully backfilled)
if (p->second.is_incomplete())
continue;
if (best == infos.end()) {
Expand Down

0 comments on commit 842a152

Please sign in to comment.