mirror of
https://github.com/prometheus/prometheus
synced 2025-01-14 02:43:35 +00:00
Merge bug fixes from branch 'release-1.6'
This commit is contained in:
commit
e499ef8cac
@ -1341,7 +1341,7 @@ func (s *MemorySeriesStorage) cycleThroughMemoryFingerprints() chan model.Finger
|
||||
}
|
||||
begin := time.Now()
|
||||
fps := s.fpToSeries.sortedFPs()
|
||||
if firstPass {
|
||||
if firstPass && len(fps) > 0 {
|
||||
// Start first pass at a random location in the
|
||||
// key space to cover the whole key space even
|
||||
// in the case of frequent restarts.
|
||||
|
Loading…
Reference in New Issue
Block a user