]> 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... 67527/head
authorCory Snyder <csnyder@1111systems.com>
Fri, 19 Apr 2024 15:42:00 +0000 (15:42 +0000)
committerNitzanMordhai <nmordech@ibm.com>
Wed, 25 Feb 2026 13:07:55 +0000 (13:07 +0000)
commit3e148ddabcaad1a76c0819a00af5fbf323ee159f
treec363a04eb701bbb5fb7e87c9fa5cc8d1f36f51ab
parente911bdebe5c8faa3800735d1568fcdca65db60df
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
Fixes: https://tracker.ceph.com/issues/70164 - squid backport
Signed-off-by: Cory Snyder <csnyder@1111systems.com>
(cherry picked from commit 282558cf40274366360bb3b1ec0fa102fbb592a6)
src/mgr/Mgr.cc