]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/PG: unset history_les_bound if local-les is used 22524/head
authorKefu Chai <kchai@redhat.com>
Tue, 12 Jun 2018 11:06:21 +0000 (19:06 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 12 Jun 2018 11:09:24 +0000 (19:09 +0800)
commita7279bd55359d8499ba519e464164c37fc7740fd
treeca959c772620e79a42c9ce1fb2badd250bbdbcb2
parent1f976a7d95f561152106992b3465bb17351f3099
osd/PG: unset history_les_bound if local-les is used

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>
src/osd/PG.cc