From: Sage Weil Date: Sun, 27 Jan 2019 16:10:49 +0000 (-0600) Subject: msg/async/ProtocolV2: clear dispatch throttle on connection stop X-Git-Tag: v14.1.0~271^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d1f4d30d5331842b975d5acab3b09c35c8662d57;p=ceph.git msg/async/ProtocolV2: clear dispatch throttle on connection stop This aligns us with the ProtocolV1 implementation. Signed-off-by: Sage Weil --- diff --git a/src/msg/async/ProtocolV2.cc b/src/msg/async/ProtocolV2.cc index a7381ff325cf..b7d413e84788 100644 --- a/src/msg/async/ProtocolV2.cc +++ b/src/msg/async/ProtocolV2.cc @@ -515,6 +515,7 @@ void ProtocolV2::stop() { std::lock_guard l(connection->write_lock); + reset_recv_state(); discard_out_queue(); connection->_stop();