]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr: remove out&down osd from daemons 54533/head
authorshimin <shimin@kuaishou.com>
Fri, 13 Oct 2023 07:54:53 +0000 (15:54 +0800)
committerPrashant D <pdhange@redhat.com>
Thu, 16 Nov 2023 22:06:09 +0000 (17:06 -0500)
commit0ebcd354709a33e09753a6a3be556a88c2efbb88
treea929b6a905c460c121e2880872d85e9dcf329c70
parent6c86da324d5733ef2768551db91b670156088da7
mgr: remove out&down osd from daemons

When we meet a bad disk problem, we just out the osd (alreay DOWN
 state). Before osd go to DOWN, it report slow ops to mgr, and `ceph -s`
command shows `18 slow ops, oldest one blocked for 259 sec...` warnings.
This warning never gone except we restart mgr.

Fixes: https://tracker.ceph.com/issues/63195
Signed-off-by: shimin <shimin@kuaishou.com>
(cherry picked from commit 3072b113242e01ed54a2154157f734e671d13a1a)
src/mgr/Mgr.cc