mirror of
https://github.com/prometheus/prometheus.git
synced 2026-05-04 20:06:12 +02: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…
x
Reference in New Issue
Block a user