]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: fix health store size growing infinitely 55549/head
authorWei Wang <lightmelodies@outlook.com>
Mon, 29 Jan 2024 08:26:24 +0000 (08:26 +0000)
committerKonstantin Shalygin <k0ste@k0ste.ru>
Tue, 12 Mar 2024 05:04:18 +0000 (12:04 +0700)
commit036ebf377278ae10b1ef470e0b4c1ccf542966e8
tree90ee92bdac3737b9e3929eb80fd70fee5f9f6ae4
parentc186d0ca78be18052defec2e0c064f7869af6d3f
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