Browse Source

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.
pull/320/head
Julius Volz 12 years ago
parent
commit
a76a797f3f
  1. 3
      storage/metric/tiered.go

3
storage/metric/tiered.go

@ -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…
Cancel
Save