Skip to content

Commit

Permalink
osd: Fix typos in PG::find_best_info
Browse files Browse the repository at this point in the history
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
  • Loading branch information
badone committed Oct 17, 2016
1 parent 2eb89c8 commit 125f90b
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 125f90b

Please sign in to comment.