]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/PeeringState: fix missed `recheck_readable` from laggy 44499/head
author胡玮文 <huww98@outlook.com>
Fri, 7 Jan 2022 17:14:00 +0000 (01:14 +0800)
committer胡玮文 <huww98@outlook.com>
Thu, 24 Feb 2022 09:25:50 +0000 (17:25 +0800)
commitcaeca396e8b149cfa09ed99eda4f7a7186b005b4
tree76cfd2327e42f708858bf110282514aaeb463ecf
parent9337fa6704180de90e1c18e314849566ff628818
osd/PeeringState: fix missed `recheck_readable` from laggy

Previously, the first `pg_lease_ack_t` after becoming laggy would not
trigger `recheck_readable`. However, every other ack would trigger it.
The logic is inverted, causing unnecessarily long laggy PG state.

Fixes: 3bb8a7210a6 (osd: requeue ops when PG is no longer laggy)
Fixes: https://tracker.ceph.com/issues/53806
Signed-off-by: 胡玮文 <huww98@outlook.com>
src/osd/PeeringState.cc