Do not lose left_on_dead PG state of non-clean PGs

epoch-deletions
Vitaliy Filippov 2023-04-08 00:41:53 +03:00
parent 888a6975ab
commit 6eff3a60a5
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ void pg_obj_state_check_t::walk()
pg->state |= PG_DEGRADED;
}
pg->state |= PG_ACTIVE;
if (pg->state == PG_ACTIVE && pg->cur_peers.size() < pg->all_peers.size())
if (pg->cur_peers.size() < pg->all_peers.size())
{
pg->state |= PG_LEFT_ON_DEAD;
}