Fix degraded object recovery (it seems to work now)

This commit is contained in:
Vitaliy Filippov
2020-03-25 02:17:41 +03:00
parent 7acfc95f75
commit c0a22d825d
5 changed files with 66 additions and 46 deletions
+2 -2
View File
@@ -177,9 +177,9 @@ void osd_t::handle_peers()
{
p.second.calc_object_states();
if (p.second.state & PG_HAS_UNCLEAN)
{
peering_state = peering_state | OSD_FLUSHING_PGS;
}
else
peering_state = peering_state | OSD_RECOVERING;
}
else
{