]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/Mgr.cc: clear daemon health metrics instead of removing down/out osd from daemon... 58512/head
authorCory Snyder <csnyder@1111systems.com>
Fri, 19 Apr 2024 15:42:00 +0000 (15:42 +0000)
committerKonstantin Shalygin <k0ste@k0ste.ru>
Wed, 24 Jul 2024 17:33:41 +0000 (00:33 +0700)
commit932d7edaeed1a280a91212cec89229ff2eda7b3f
tree5a50d2cebae303c0bc9d3fe28751b3cce5d31eec
parentbc3f96b4d8985987fafad1495e023562ad9e61c1
mgr/Mgr.cc: clear daemon health metrics instead of removing down/out osd from daemon state

Reverts the change from https://github.com/ceph/ceph/pull/53993
and directly clears daemon health metrics for down and out OSDs.
The former approach of removing down/out OSDs from the daemon
state has undesirable consequences for stat output, including
the prometheus exporter.

Fixes: https://tracker.ceph.com/issues/66168
Signed-off-by: Cory Snyder <csnyder@1111systems.com>
(cherry picked from commit 282558cf40274366360bb3b1ec0fa102fbb592a6)
src/mgr/Mgr.cc