]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr: remove out&down osd from daemons 54553/head
authorshimin <shimin@kuaishou.com>
Fri, 13 Oct 2023 07:54:53 +0000 (15:54 +0800)
committerKonstantin Shalygin <k0ste@k0ste.ru>
Sat, 18 Nov 2023 19:38:56 +0000 (02:38 +0700)
commit8af250cf2f3d2b66c3e76f139dc1754edb6be6a5
tree5d6f975c516f849f9b45d158deb8546473c62d03
parent5968b11fca5154cf29fbb96887798b9f4af44bd6
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