]> 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>
Thu, 8 May 2025 16:49:39 +0000 (17:49 +0100)
commitf6bc2ecd6edb768603156e1046e6089bc6882378
treea074c214cb3ca7fff1c41d192ffbfa2dfe1c6cab
parent5ebf2178c38332b8bf21905effb5c9418656be81
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>
src/osd/scrubber/scrub_backend.cc
src/osd/scrubber/scrub_backend.h