Fix OSDs missing misplaced recovery
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user