Always treat series without watermarks as too old.

Current series always get watermarks written out upon append now. This
drops support for old series without any watermarks by always reporting
them as too old (stale) during queries.
This commit is contained in:
Julius Volz 2013-06-27 17:01:31 +02:00
parent 0a69119f7b
commit a76a797f3f
1 changed files with 2 additions and 1 deletions

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