Signed-off-by: Samuel Just <sjust@redhat.com>
* PrimaryLogPG::on_change() was called when that interval ended. We can safely
* discard the stale message.
*/
-bool PgScrubber::check_interval(epoch_t epoch_to_verify)
+bool PgScrubber::check_interval(epoch_t epoch_to_verify) const
{
return epoch_to_verify >= m_pg->get_same_interval_since();
}
*/
[[nodiscard]] bool verify_against_abort(epoch_t epoch_to_verify);
- [[nodiscard]] bool check_interval(epoch_t epoch_to_verify);
+ [[nodiscard]] bool check_interval(epoch_t epoch_to_verify) const;
epoch_t m_last_aborted{}; // last time we've noticed a request to abort