From: shenhang Date: Tue, 16 Jul 2019 07:19:40 +0000 (+0800) Subject: mds: complete all the replay op when mds is restarted ,no matter the session is close... X-Git-Tag: v15.1.0~470^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6837bf5e5242631292462efe2b3599ff8ebe0d8e;p=ceph-ci.git mds: complete all the replay op when mds is restarted ,no matter the session is closed or not. In reconnect phase client sent unsafe requests to mds before reconnect msg. So this pr will handle situation like this: 1. In reconnect phase , client sent unsafe request to mds. 2. It reached reconnect timeout. All sessions without sending reconnect msg in time, some of which may had sent unsafe requests, are marked as closed. (Another situation is #31668, which will deny all client reconnect msg to speed up reboot). 3.So these unsafe request from session without sending reconnect msg in time or being denied could be handled in clientreplay phase. fixes:http://tracker.ceph.com/issues/40784 Signed-off-by: Shen Hang --- diff --git a/src/common/options.cc b/src/common/options.cc index df1d2c9571c..341b4d5d4ff 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -7867,6 +7867,11 @@ std::vector