mirror of
https://github.com/ceph/ceph
synced 2025-02-22 02:27:29 +00:00
mds: do not mark closed connections disposable
These will get reused when the client reconnects. If we are going to clean these up, we need a different strategy. Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
ad839c70dc
commit
4ac45200f1
@ -291,7 +291,6 @@ void Server::_session_logged(Session *session, uint64_t state_seq, bool open, ve
|
||||
// reset session
|
||||
mds->send_message_client(new MClientSession(CEPH_SESSION_CLOSE), session);
|
||||
mds->sessionmap.set_state(session, Session::STATE_CLOSED);
|
||||
mds->messenger->mark_disposable(session->connection);
|
||||
session->clear();
|
||||
} else if (session->is_killing()) {
|
||||
// destroy session, close connection
|
||||
|
Loading…
Reference in New Issue
Block a user