Merge pull request #15216 from yeya24/log-last-series-labels

log last series labelset when hitting OOO series labels
pull/14228/merge
Bryan Boreham 3 weeks ago committed by GitHub
commit e2e01c1cff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -438,7 +438,7 @@ func (w *Writer) AddSeries(ref storage.SeriesRef, lset labels.Labels, chunks ...
return err return err
} }
if labels.Compare(lset, w.lastSeries) <= 0 { if labels.Compare(lset, w.lastSeries) <= 0 {
return fmt.Errorf("out-of-order series added with label set %q", lset) return fmt.Errorf("out-of-order series added with label set %q, last label set %q", lset, w.lastSeries)
} }
if ref < w.lastSeriesRef && !w.lastSeries.IsEmpty() { if ref < w.lastSeriesRef && !w.lastSeries.IsEmpty() {

Loading…
Cancel
Save