mirror of https://github.com/prometheus/prometheus
Reorder startup and shutdown to prevent panics. (#4321)
Start rule manager only after tsdb and config is loaded. Stop rule manager before tsdb to avoid writing to closed storage. Wait for any in-progress reloads to complete before shutting down rule manager, so that rule manager doesn't get updated after being shut down. Remove incorrect comment around shutting down query enginge. Log when config reload is completed. Fixes #4133 Fixes #4262 Signed-off-by: Brian Brazil <brian.brazil@robustperception.io>pull/4370/head
parent
5e9056d2f3
commit
508662fb24
Loading…
Reference in new issue