]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/PeeringState: fix missed `recheck_readable` from laggy 47901/head
author胡玮文 <huww98@outlook.com>
Fri, 7 Jan 2022 17:14:00 +0000 (01:14 +0800)
committerAishwarya Mathuria <amathuri@redhat.com>
Thu, 1 Sep 2022 13:39:05 +0000 (19:09 +0530)
commitc71ee14cdbcc499d0ccaa84f4714ad5f29821f40
tree83e37fe68b9037ff6bdf1c5c3fef23e9ffc076af
parent0d07b406dc2f854363f7ae9b970e980400f4f03e
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>
(cherry picked from commit caeca396e8b149cfa09ed99eda4f7a7186b005b4)
src/osd/PeeringState.cc