]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: fix health store size growing infinitely 55548/head
authorWei Wang <lightmelodies@outlook.com>
Mon, 29 Jan 2024 08:26:24 +0000 (08:26 +0000)
committerKonstantin Shalygin <k0ste@k0ste.ru>
Mon, 12 Feb 2024 16:35:31 +0000 (23:35 +0700)
commit193e5646cde6e8fe2e6eaa7e2cd7bf4c632de277
treeba46d43f59331fbf929f664403cb3250bedea097
parent9bd47e1d7da8d3eb40d01cfedf1a77d0dff05761
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