diff --git a/gms/gossiper.cc b/gms/gossiper.cc index 9d62d88df7..f408d02ace 100644 --- a/gms/gossiper.cc +++ b/gms/gossiper.cc @@ -2063,7 +2063,7 @@ future<> gossiper::start_gossiping(gms::generation_type generation_nbr, applicat if (!_background_msg.is_closed()) { co_await _background_msg.close(); } - _background_msg = seastar::gate(); + _background_msg = seastar::named_gate("gossiper"); /* Ensure all shards have enabled gossip before starting the failure detector loop */ co_await container().invoke_on_all([] (gms::gossiper& g) { g._enabled = true; diff --git a/gms/gossiper.hh b/gms/gossiper.hh index 1677277a1b..bd3f579a94 100644 --- a/gms/gossiper.hh +++ b/gms/gossiper.hh @@ -116,7 +116,7 @@ private: bool _enabled = false; semaphore _callback_running{1}; semaphore _apply_state_locally_semaphore{100}; - seastar::gate _background_msg; + seastar::named_gate _background_msg; std::unordered_map _syn_handlers; std::unordered_map _ack_handlers; // Map ip address and generation number