]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/osd/scrub: check if stats have been marked invalid
authorAishwarya Mathuria <amathuri@redhat.com>
Fri, 1 Aug 2025 10:11:02 +0000 (10:11 +0000)
committerAishwarya Mathuria <amathuri@redhat.com>
Thu, 21 Aug 2025 13:58:27 +0000 (13:58 +0000)
commitadb9b0718a2d4b14baaea413f319c76c1675d0e8
tree922d4068493a51169d140e4d58f640f93a95d8e3
parent394b530b05c775ecc67123d55eff366da947b0f9
crimson/osd/scrub: check if stats have been marked invalid

In case of splits/merges the PeeringState::split_into function will mark
the child and parent pgs stats invalid.
We need to check for this when scrub finishes, update the stats and mark them valid.

Fixes: https://tracker.ceph.com/issues/72676
Signed-off-by: Aishwarya Mathuria <amathuri@redhat.com>
src/crimson/osd/scrub/pg_scrubber.cc