]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: Attribute re-reads in optimised EC
authorAlex Ainscow <aainscow@uk.ibm.com>
Mon, 14 Jul 2025 15:40:22 +0000 (16:40 +0100)
committerAlex Ainscow <aainscow@uk.ibm.com>
Sun, 7 Sep 2025 23:10:41 +0000 (00:10 +0100)
commite38fe8ffef500b7b6a3a39ef266a3d98fce7337c
tree069faf8d7d58a2815d475ffb0be779305ac341f3
parentc2b97811b2adc795d07fcc1be3df73ffd4061879
osd: Attribute re-reads in optimised EC

There were some bugs in attribute reads during recovery in optimised
EC where the attribute read failed. There were two scenarios:

1. It was not necessary to do any further reads to recover the data. This
can happen during recovery of many shards.
2. The re-read could be honoured from non-primary shards. There are
sometimes multiple copies of the shard whcih can be used, so a failed read
on one OSD can be replaced by a read from another.

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
(cherry picked from commit 417fb71c9b5628726d3217909ba1b6d3e7bf251a)
src/osd/ECBackend.cc
src/osd/ECCommon.cc