]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: erase clients getting evicted from laggy_clients
authorDhairya Parmar <dparmar@redhat.com>
Wed, 11 Oct 2023 07:27:04 +0000 (12:57 +0530)
committerDhairya Parmar <dparmar@redhat.com>
Fri, 20 Oct 2023 10:51:09 +0000 (16:21 +0530)
Fixes: https://tracker.ceph.com/issues/63105
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
(cherry picked from commit 754b6022fb9fda075d38dcb1d058482f75dcff4d)

src/mds/Server.cc

index b98d9650146cd416a2dc2ac4e2b101d7bc0e9475..7d11d20903e5c92f190e396227792480299c20b5 100644 (file)
@@ -1247,6 +1247,8 @@ void Server::find_idle_sessions()
       kill_session(session, NULL);
     }
   }
+  // clear as there's no use to keep the evicted clients in laggy_clients
+  clear_laggy_clients();
 }
 
 void Server::evict_cap_revoke_non_responders() {