]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr: remove out&down osd from daemons 53993/head
authorshimin <shimin@kuaishou.com>
Fri, 13 Oct 2023 07:54:53 +0000 (15:54 +0800)
committershimin <shimin@kuaishou.com>
Fri, 13 Oct 2023 08:28:13 +0000 (16:28 +0800)
commit3072b113242e01ed54a2154157f734e671d13a1a
tree9f9df96c5bd1cc6f808b788b098a2e91a208ebb8
parent03e43c5bb08452b06a89c14de5a9ff7f9f82a3e1
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>
src/mgr/Mgr.cc