diff --git a/src/v/cluster/persisted_stm.cc b/src/v/cluster/persisted_stm.cc index b20930b38852..5f4e5ee5c830 100644 --- a/src/v/cluster/persisted_stm.cc +++ b/src/v/cluster/persisted_stm.cc @@ -304,6 +304,10 @@ ss::future persisted_stm::wait_no_throw( auto deadline = model::timeout_clock::now() + timeout; return wait(offset, deadline) .then([] { return true; }) + .handle_exception_type([](const raft::offset_monitor::wait_aborted&) { + vlog(clusterlog.trace, "aborted while waiting (shutting down)"); + return false; + }) .handle_exception([offset, ntp = _c->ntp()](std::exception_ptr e) { vlog( clusterlog.error,