mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-27 14:39:40 -08:00
Merge pull request #992 from prometheus/term-docs
Storage: Tell users how to avoid crash recovery.
This commit is contained in:
commit
4ee88017f3
|
@ -37,6 +37,7 @@ import (
|
|||
func (p *persistence) recoverFromCrash(fingerprintToSeries map[clientmodel.Fingerprint]*memorySeries) error {
|
||||
// TODO(beorn): We need proper tests for the crash recovery.
|
||||
log.Warn("Starting crash recovery. Prometheus is inoperational until complete.")
|
||||
log.Warn("To avoid crash recovery in future, shutdown Prometheus with SIGTERM or a HTTP POST to /-/quit.")
|
||||
|
||||
fpsSeen := map[clientmodel.Fingerprint]struct{}{}
|
||||
count := 0
|
||||
|
|
Loading…
Reference in a new issue