diff --git a/src/osd/ReplicatedPG.cc b/src/osd/ReplicatedPG.cc index 8910e00d7c5..b3f545f3627 100644 --- a/src/osd/ReplicatedPG.cc +++ b/src/osd/ReplicatedPG.cc @@ -951,6 +951,10 @@ void ReplicatedPG::do_pg_op(OpRequestRef op) result = -EOPNOTSUPP; break; } + if (is_unreadable_object(oid)) { + wait_for_unreadable_object(oid, op); + return; + } result = osd->store->read(coll, oid, 0, 0, osd_op.outdata); } }