]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: Optimized EC backfill interval has wrong versions
authorBill Scales <bill_scales@uk.ibm.com>
Fri, 8 Aug 2025 08:58:14 +0000 (09:58 +0100)
committerAlex Ainscow <aainscow@uk.ibm.com>
Wed, 17 Sep 2025 08:43:26 +0000 (09:43 +0100)
commit73a5468e0b0df9b50f656ebfc894f8f8a7170a31
tree8cf5afc92d5b4dcd4ce81da2a5e3aa4796dec5d9
parent30c287090344279eec5badaf7f545e1b4cdd00ef
osd: Optimized EC backfill interval has wrong versions

Bug in the optimized EC code creating the backfill
interval on the primary. It is creating a map with
the object version for each backfilling shard. When
there are multiple backfill targets the code was
overwriting oi.version with the version
for a shard that has had partial writes which
can result in the object not being backfilled.

Can manifest as a data integirty issue, scrub
error or snapshot corruption.

Signed-off-by: Bill Scales <bill_scales@uk.ibm.com>
(cherry picked from commit acca514f9a3d0995b7329f4577f6881ba093a429)
src/crimson/osd/recovery_backend.cc
src/osd/PrimaryLogPG.cc