Project

General

Profile

Actions

Fix #3630

closed

mds: broken closed connection cleanup

Added by Sage Weil over 11 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Consider:

- client->mds REQUEST_CLOSE
- mds->client CLOSE
- client closes con
- mds see fault, goes to standby

This was changed recently to avoid broken semantics in the non-close case, but an all-out leak isn't good either.

In particular, if a client reconnects with the same addr/nonce, they will inherit the old session.


Related issues 2 (0 open2 closed)

Related to CephFS - Bug #3696: mds: FAILED assert(session_map.count(s->inst.name) == 0)ResolvedSage Weil12/28/2012

Actions
Related to CephFS - Bug #4385: mds: refusing connections with high open socket countResolvedSage Weil03/07/2013

Actions
Actions

Also available in: Atom PDF