log last series labelset when hitting OOO series labels during compaction

Signed-off-by: Ben Ye <benye@amazon.com>
pull/15216/head
Ben Ye 1 year ago
parent 3cb09acb21
commit 99882eec3b
  1. 2
      tsdb/index/index.go

@ -438,7 +438,7 @@ func (w *Writer) AddSeries(ref storage.SeriesRef, lset labels.Labels, chunks ...
return err
}
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() {

Loading…
Cancel
Save