]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
common/not_before_queue_t: tolerate non-monotonic cut-off values
authorRonen Friedman <rfriedma@redhat.com>
Wed, 26 Feb 2025 15:07:39 +0000 (09:07 -0600)
committerRonen Friedman <rfriedma@redhat.com>
Fri, 28 Feb 2025 09:21:07 +0000 (03:21 -0600)
commit7ba63ac29476416c2369f96f5373ff29e1cbac07
tree308b93e4b9b5f43c53a371afae6a8afa86200281
parent6c9e3908a073e3d04dd2a64d5ee218f5687d7ffd
common/not_before_queue_t: tolerate non-monotonic cut-off values

as the system monotonic clock is used when the container is used
in Scrub implementation, and on some kernels there are rare cases
where the monotonic clock can go backwards, we need to tolerate
such events.

Fixes: https://tracker.ceph.com/issues/70055
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/common/not_before_queue.h
src/test/test_not_before_queue.cc