]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: fix possible inifinite loop when getting an ESTALE from MDS 46557/head
authorXiubo Li <xiubli@redhat.com>
Tue, 7 Dec 2021 03:36:23 +0000 (11:36 +0800)
committerXiubo Li <xiubli@redhat.com>
Wed, 8 Jun 2022 01:54:54 +0000 (09:54 +0800)
commitc8b1e564e7bb66240b8dbc9b8c7bb795163dbabe
tree809bfef3e802340c1276c2b87d502071429136fa
parent22b3d293df7408220b80df873abae4638d986495
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>
(cherry picked from commit aabd5e9c578c2c6da9542bcb935bc36678503359)
src/client/Client.cc