Browse Source

Fix OSDs missing misplaced recovery

csi-use-vitastor-cli
Vitaliy Filippov 5 months ago
parent
commit
abaec2008c
  1. 2
      src/osd_peering.cpp

2
src/osd_peering.cpp

@ -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

Loading…
Cancel
Save