]> git.apps.os.sepia.ceph.com Git - ceph-ci.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)
committerJon <jonathan.bailey1@ibm.com>
Fri, 3 Oct 2025 13:31:23 +0000 (14:31 +0100)
commitd746aea74fed7442b686811df24300c81a771a80
treee410a99af5b4bf7daa3bf06e43b87d9de7c2eba3
parentf978ca31d51241220e2377e53a886eaa7abeab6d
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