diff options
author | Venky Shankar <vshankar@redhat.com> | 2024-09-19 08:27:53 +0200 |
---|---|---|
committer | Venky Shankar <vshankar@redhat.com> | 2024-09-23 10:29:59 +0200 |
commit | 4277cd298977c606609b90e2c2fa367cce97ae5a (patch) | |
tree | 088ee61948d4ac79dfefebc13cea2d0099c6f4a2 /src/mds | |
parent | Merge pull request #59737 from Suyashd999/fix-tkm1 (diff) | |
download | ceph-4277cd298977c606609b90e2c2fa367cce97ae5a.tar.xz ceph-4277cd298977c606609b90e2c2fa367cce97ae5a.zip |
mds: invalid id for client eviction is to be treated as success
Introduced-by: 0ef5941a2e79
Fixes: http://tracker.ceph.com/issues/68132
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Diffstat (limited to 'src/mds')
-rw-r--r-- | src/mds/MDSRank.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mds/MDSRank.cc b/src/mds/MDSRank.cc index 50c7175df80..f6665cf42d8 100644 --- a/src/mds/MDSRank.cc +++ b/src/mds/MDSRank.cc @@ -3149,7 +3149,7 @@ void MDSRankDispatcher::evict_clients( dout(20) << __func__ << " matched " << victims.size() << " sessions" << dendl; if (victims.empty()) { - on_finish(-ESRCH, "no hosts match", outbl); + on_finish(0, "no hosts match", outbl); return; } |