Merge pull request #320 from prometheus/optimize/no-wm-too-old

Always treat series without watermarks as too old.
This commit is contained in:
Matt T. Proud 2013-06-28 08:43:21 -07:00
commit ad656ba58d

View file

@ -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