summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorXiubo Li <xiubli@redhat.com>2023-08-24 12:55:51 +0300
committerIlya Dryomov <idryomov@gmail.com>2024-01-15 17:40:50 +0300
commitcbcb358b744bf8d8c52b35d5efb1a960438c31cd (patch)
tree914afd165150b58dfc8319a45fb77d2c23c714b6 /net
parent0dd3ee31125508cd67f7e7172247f05b7fd1753a (diff)
downloadlinux-cbcb358b744bf8d8c52b35d5efb1a960438c31cd.tar.xz
ceph: skip reconnecting if MDS is not ready
When MDS closed the session the kclient will send to reconnect to it immediately, but if the MDS just restarted and still not ready yet, such as still in the up:replay state and the sessionmap journal logs hasn't be replayed, the MDS will close the session. And then the kclient could remove the session and later when the mdsmap is in RECONNECT phrase it will skip reconnecting. But the MDS will wait until timeout and then evict the kclient. Just skip sending the reconnection request until the MDS is ready. Link: https://tracker.ceph.com/issues/62489 Signed-off-by: Xiubo Li <xiubli@redhat.com> Reviewed-by: Ilya Dryomov <idryomov@gmail.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions