diff --git a/src/v/cluster/rm_stm.cc b/src/v/cluster/rm_stm.cc index d3b4cf1f30cd8..1279868fdb745 100644 --- a/src/v/cluster/rm_stm.cc +++ b/src/v/cluster/rm_stm.cc @@ -1189,6 +1189,7 @@ ss::future> rm_stm::do_replicate( ss::future<> rm_stm::stop() { auto_abort_timer.cancel(); _log_stats_timer.cancel(); + _metrics.clear(); return raft::state_machine::stop(); }