]> 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>
Mon, 23 Oct 2023 05:25:45 +0000 (10:55 +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 2d22e294fe4237de3dac1d69580baa5f1f1324f8..2920cd55ca2bd613950c6fd476c3c3a4492edfb4 100644 (file)
@@ -1250,6 +1250,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() {