Fix OSDs missing misplaced recovery

nfs-proxy-old
Vitaliy Filippov 2022-02-11 01:00:24 +03:00
parent 8129d238a4
commit abaec2008c
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ void osd_t::handle_peers()
degraded_objects += p.second.degraded_objects.size();
if (p.second.state & PG_HAS_UNCLEAN)
peering_state = peering_state | OSD_FLUSHING_PGS;
else if (p.second.state & PG_HAS_DEGRADED)
else if (p.second.state & (PG_HAS_DEGRADED | PG_HAS_MISPLACED))
peering_state = peering_state | OSD_RECOVERING;
}
else