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)
bool HealthMonitor::check_mutes()
{
- bool changed = true;
+ bool changed = false;
auto now = ceph_clock_now();
health_check_map_t all;
gather_all_health_checks(&all);