]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client/Client.cc: add feature to reconnect client after MDS reset 14698/head
authorHenrik Korkuc <henrik@uber.com>
Sun, 19 Feb 2017 09:44:20 +0000 (11:44 +0200)
committerNathan Cutler <ncutler@suse.com>
Thu, 20 Apr 2017 21:29:43 +0000 (23:29 +0200)
commit5b562145197833c6a6f48f006dfb13b6e38f9084
tree3ea1ec4bb9335a57afefac84a0b7178089c60f72
parent8f21038d30097622e319ab986631b03f87f5d907
client/Client.cc: add feature to reconnect client after MDS reset

Client.cc marks session as stale instead of reconecting after received
reset from MDS. On MDS side session is closed so MDS is ignoring cap
renew. This adds option to reconnect stale client sessions instead of
just marking sessions stale.

Fixes: http://tracker.ceph.com/issues/18757
Signed-off-by: Henrik Korkuc <henrik@kirneh.eu>
(cherry picked from commit e0bbc704676ef4aed510daff075ef63c9e73b7b3)
doc/cephfs/client-config-ref.rst
src/client/Client.cc
src/common/config_opts.h