mirror of
https://github.com/ceph/ceph
synced 2025-01-20 10:01:45 +00:00
Merge pull request #39784 from rzarzynski/wip-crimson-monc-close-active-conn-on-reset
crimson/monc: close() active_con before destructing it on resets. Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
commit
504aaaa9e5
@ -515,6 +515,7 @@ void Client::ms_handle_reset(crimson::net::ConnectionRef conn, bool /* is_replac
|
||||
return seastar::now();
|
||||
} else if (active_con && active_con->is_my_peer(conn->get_peer_addr())) {
|
||||
logger().warn("active conn reset {}", conn->get_peer_addr());
|
||||
active_con->close();
|
||||
active_con.reset();
|
||||
return reopen_session(-1).then([this](bool opened) {
|
||||
if (opened) {
|
||||
|
Loading…
Reference in New Issue
Block a user