]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: Recover non-primary shards with the correct version.
authorAlex Ainscow <aainscow@uk.ibm.com>
Thu, 8 May 2025 13:22:36 +0000 (14:22 +0100)
committerLaura Flores <lflores@ibm.com>
Wed, 9 Jul 2025 15:47:25 +0000 (15:47 +0000)
commitbdbfc80f23b7d6c62b5dc7116b16f97028c9f87a
tree388f54bcc0e59d67c0c62c8cb291207dbc51efb4
parenta99491ecfab623058883f19ac303f457762ad1b6
osd: Recover non-primary shards with the correct version.

Scrub revealed a bug whereby the non-primary shards were being given a
version number in the OI which did not match the expected version in
the authoritative OI.

A secondary issue is that all attributes were being pushed to the non
primary shards, whereas only OI is actually needed.

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
# Conflicts:
# src/osd/osd_types.h
(cherry picked from commit 4332a188b72eea09c48d913d1b4576259a32a4a4)
src/osd/ECBackend.cc