osd: Fail a chained read through an incomplete replicated object instead of aborting #170

Merged
vitalif merged 1 commits from koolkhel/vitastor:chain-read-incomplete-parent into master 2026-11-24 03:43:30 +03:00

1 Commits

Author SHA1 Message Date
8991b5b5e9 osd: Fail a chained read through an incomplete replicated object instead of aborting
When every copy of a replicated object has been dropped from its set
(each answered ENOENT, for example to recovery), the object is
incomplete with no OSD to read from while the PG stays active. A plain
read of it answers EIO, but a chained read through it hit
assert(read_target != 0) in collect_bitmap_requests() before reaching
its own incomplete check, and the OSD aborted.

Fail the read with EIO there, as the EC branch already does.
2026-11-24 03:06:45 +03:00