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 wmTime.Before(i), nil
|
||||||
}
|
}
|
||||||
|
|
||||||
return false, nil
|
t.wmCache.Set(f, &watermarks{})
|
||||||
|
return true, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
return wm.High.Before(i), nil
|
return wm.High.Before(i), nil
|
||||||
|
|
Loading…
Reference in New Issue