]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: fix health store size growing infinitely 55472/head
authorWei Wang <lightmelodies@outlook.com>
Mon, 29 Jan 2024 08:26:24 +0000 (08:26 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Wed, 7 Feb 2024 10:28:51 +0000 (10:28 +0000)
commitefcddbbd36dd83286df78e3d5064ba638b77d5a5
treee009546b5681d65f23961536863721a22986618f
parent88626a7230771979ec1d047400b437f140e050d8
mon: fix health store size growing infinitely

The `check_mutes` wrongly marks `changed` to true, trigger `propose_pending` and block following `maybe_trim` logic (`have_pending` will be always be false); as a result, the health store will never be trimmed.

Signed-off-by: Wei Wang <lightmelodies@outlook.com>
(cherry picked from commit 05a85848a01c443d67564a9904a778acfe19cee5)
src/mon/HealthMonitor.cc