]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: Relax assertion that all recoveries require a read.
authorAlex Ainscow <aainscow@uk.ibm.com>
Tue, 1 Jul 2025 14:51:58 +0000 (15:51 +0100)
committerAlex Ainscow <aainscow@uk.ibm.com>
Sun, 7 Sep 2025 23:10:41 +0000 (00:10 +0100)
commitb15cdc9d86829c945a5339b74b3e5a9181d0e65a
treef6c57d9bbffd00e139a1b4147cb84bc3ff6b2fd0
parent6eb63f66a68e3b1f102e0db93d301996e1d99860
osd: Relax assertion that all recoveries require a read.

If multiple object are being read as part of the same recovery (this happens
when recovering some snapshots) and a read fails, then some reads from other
shards will be necessary.  However, some objects may not need to read. In this
case it is only important that at least one read message is sent, rather than
one read message per object is sent.

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