From: Matan Breizman Date: Sun, 12 Nov 2023 13:53:59 +0000 (+0000) Subject: crimson/osd/pg: PG::on_active_actmap() indention X-Git-Tag: v19.0.0~96^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F54416%2Fhead;p=ceph.git crimson/osd/pg: PG::on_active_actmap() indention Signed-off-by: Matan Breizman --- diff --git a/src/crimson/osd/pg.cc b/src/crimson/osd/pg.cc index 46daa402f81f..78ae559e8cd5 100644 --- a/src/crimson/osd/pg.cc +++ b/src/crimson/osd/pg.cc @@ -506,13 +506,14 @@ void PG::on_active_actmap() }).then([this, trimmed=to_trim] { logger().debug("{}: trimmed snap={}", *this, trimmed); }); - }).finally([this, pg_ref] { - 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(); - }); + } + ).finally([this, pg_ref] { + 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(); + }); } void PG::on_active_advmap(const OSDMapRef &osdmap)