reset history_les_bound if we set max_last_epoch_started_found with
shard's local-les. otherwise it'd be misleading to show
"peering_blocked_by_history_les_bound" in the output of "pg query" if a
pg is stuck in incomplete and/or peering, and the best shard is not
chosen based on the history.les .
Signed-off-by: Kefu Chai <kchai@redhat.com>
}
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;
}
}