<< " existing_state="
<< connection->get_state_name(existing->state) << dendl;
reply.global_seq = exproto->peer_global_seq;
+ // make sure we notice if existing connection is no longer functioning
+ existing->send_keepalive();
existing->lock.unlock();
return send_connect_message_reply(CEPH_MSGR_TAG_RETRY_GLOBAL, reply,
authorizer_reply);
ldout(cct, 1) << __func__
<< " existing racing replace happened while replacing."
<< " existing=" << existing << dendl;
+ // make sure we notice if existing connection is no longer functioning
+ existing->send_keepalive();
auto retry = RetryGlobalFrame::Encode(session_stream_handlers,
exproto->peer_global_seq);
return WRITE(retry, "session retry", read_frame);
ldout(cct, 1) << __func__
<< " existing racing replace happened while replacing."
<< " existing=" << existing << dendl;
+ // make sure we notice if existing connection is no longer functioning
+ existing->send_keepalive();
auto wait = WaitFrame::Encode(session_stream_handlers);
return WRITE(wait, "wait", read_frame);
}