Merge pull request #22524 from tchaikov/wip-history-les-bound

osd/PG: unset history_les_bound if local-les is used

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
This commit is contained in:
Kefu Chai 2018-06-15 10:08:20 +08:00 committed by GitHub
commit 3234db0649
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1140,6 +1140,7 @@ map<pg_shard_t, pg_info_t>::const_iterator PG::find_best_info(
}
if (!i->second.is_incomplete() &&
max_last_epoch_started_found < i->second.last_epoch_started) {
*history_les_bound = false;
max_last_epoch_started_found = i->second.last_epoch_started;
}
}