]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: fix possible inifinite loop when getting an ESTALE from MDS 44234/head
authorXiubo Li <xiubli@redhat.com>
Tue, 7 Dec 2021 03:36:23 +0000 (11:36 +0800)
committerXiubo Li <xiubli@redhat.com>
Sat, 2 Apr 2022 00:50:28 +0000 (08:50 +0800)
commitaabd5e9c578c2c6da9542bcb935bc36678503359
treeac171e415423fb4d295369c41f10d7db41878c5e
parentc6601bc53ee8f69c6c919b122fea9dab72fc157f
client: fix possible inifinite loop when getting an ESTALE from MDS

In the MDS side, when one inode is under purging or couldn't find
in all the peer MDSes, it will return ESTALE error. So retrying it
makes no sense in any other MDS. Or the client will be inifinite
loop retrying.

Fixes: https://tracker.ceph.com/issues/53504
Signed-off-by: Xiubo Li <xiubli@redhat.com>
src/client/Client.cc