]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
scrubber/pg_scrubber: regularize message interval checks
authorSamuel Just <sjust@redhat.com>
Thu, 9 Feb 2023 20:46:00 +0000 (12:46 -0800)
committerSamuel Just <sjust@redhat.com>
Wed, 12 Apr 2023 03:39:19 +0000 (20:39 -0700)
commiteb3d0eb26c59314523cfc3c5f58f333561a3a1b0
tree43dbe9e6ee46fa6716ceabb160e51e362dd6bbc3
parentb883af38a3d1ab69706c37b1d45fef60e0f8995f
scrubber/pg_scrubber: regularize message interval checks

OpRequestRef::sent_epoch can be used to uniformly check incoming
messages against the current interval.  Every caller should do it first
thing before any other processing.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/osd/scrubber/pg_scrubber.cc
src/osd/scrubber/pg_scrubber.h