We need to requeue the check if not enough time has elapsed, or
we'll stay stuck in the wait state.
Fixes: https://tracker.ceph.com/issues/57506
Introduced:
51cabbff7b51c01853bf159e513bc889287306c4
Signed-off-by: Samuel Just <sjust@redhat.com>
if (mnow < prior_readable_until_ub) {
logger().info("{} will wait (mnow {} < prior_readable_until_ub {})",
__func__, mnow, prior_readable_until_ub);
+ queue_check_readable(
+ peering_state.get_last_peering_reset(),
+ prior_readable_until_ub - mnow);
} else {
logger().info("{} no longer wait (mnow {} >= prior_readable_until_ub {})",
__func__, mnow, prior_readable_until_ub);