]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: Check OI version against reference in scrub if not expected to exactly match.
authorAlex Ainscow <aainscow@uk.ibm.com>
Thu, 8 May 2025 16:49:39 +0000 (17:49 +0100)
committerAlex Ainscow <aainscow@uk.ibm.com>
Fri, 20 Jun 2025 11:08:28 +0000 (12:08 +0100)
commit289262a5ca7f07e769658b29bdccf517fbd56e0c
treec4d3d95ae3eff35e751b234183f2f24b66b9f6d2
parentda27661273991bea1c61fa5cbfb00d8673b9df61
osd: Check OI version against reference in scrub if not expected to exactly match.

With optimised EC, some shards do not receive every IO updates (partial writes).

In such cases, the OI on these "nonprimary" shards is expected to be out of date.
This commit allows for the mismatch and instead checks that the OI can be decoded
and checks the version against the shard versions in the authoritative OI.

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
(cherry picked from commit f6bc2ecd6edb768603156e1046e6089bc6882378)
src/osd/scrubber/scrub_backend.cc
src/osd/scrubber/scrub_backend.h