mirror of
https://github.com/ceph/ceph
synced 2025-04-01 23:02:17 +00:00
crimson/osd/pg: PG::on_active_actmap() clear PG_STATE_SNAPTRIM_ERROR
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
This commit is contained in:
parent
03ff8f206a
commit
ad129f39e7
@ -489,7 +489,10 @@ void PG::on_active_actmap()
|
||||
logger().debug("{}: trimmed snap={}", *this, trimmed);
|
||||
});
|
||||
}).finally([this] {
|
||||
logger().debug("{}: PG::on_active_actmap() finished trimming",
|
||||
*this);
|
||||
peering_state.state_clear(PG_STATE_SNAPTRIM);
|
||||
peering_state.state_clear(PG_STATE_SNAPTRIM_ERROR);
|
||||
publish_stats_to_osd();
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user