]> 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... 57005/head
authorCory Snyder <csnyder@1111systems.com>
Fri, 19 Apr 2024 15:42:00 +0000 (15:42 +0000)
committerCory Snyder <csnyder@1111systems.com>
Tue, 21 May 2024 18:18:15 +0000 (14:18 -0400)
commit282558cf40274366360bb3b1ec0fa102fbb592a6
tree0db26e0adc6eea043d5455869f258c6c69aaa5d3
parentabadee66cdb5c4119a201a00d6b26b076f64e911
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>
src/mgr/Mgr.cc