Retry failed reads (including chained and RMW) from other replicas

This commit is contained in:
Vitaliy Filippov
2023-05-20 23:19:39 +03:00
parent bf2112653b
commit 8dc427b43c
9 changed files with 319 additions and 61 deletions
+1 -1
View File
@@ -336,7 +336,7 @@ pg_osd_set_state_t* pg_t::add_object_to_state(const object_id oid, const uint64_
{
for (auto & o: osd_set)
{
if (!(o.loc_bad & LOC_OUTDATED))
if (!o.loc_bad)
{
read_target.push_back(o.osd_num);
}