Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cluster: fix shutdown hang in health_monitor_backend
If refresh_cluster_health_cache was waiting on _refresh_mutex while ::stop ran, and another fiber had a refresh in progress, then ::stop cancels the other fiber's refresh + the first fiber proceeds to try and refresh again, holding the gate open while ::stop is waiting for it to close. Fixes redpanda-data#5178 (cherry picked from commit d32c9a0)
- Loading branch information