mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-10 07:34:04 -08:00
Merge pull request #320 from prometheus/optimize/no-wm-too-old
Always treat series without watermarks as too old.
This commit is contained in:
commit
ad656ba58d
|
@ -343,7 +343,8 @@ func (t *TieredStorage) seriesTooOld(f *clientmodel.Fingerprint, i time.Time) (b
|
|||
return wmTime.Before(i), nil
|
||||
}
|
||||
|
||||
return false, nil
|
||||
t.wmCache.Set(f, &watermarks{})
|
||||
return true, nil
|
||||
}
|
||||
|
||||
return wm.High.Before(i), nil
|
||||
|
|
Loading…
Reference in a new issue