mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Fix TestMultipleEncodingsCommitOrder
series() via Select() I think on OOOHeadIndexReader was not handling the chunk ranges correctly, creating overlapping chunk metas. Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
This commit is contained in:
parent
0b10954f1c
commit
523832cdde
|
@ -115,7 +115,7 @@ func (oh *OOOHeadIndexReader) series(ref storage.SeriesRef, builder *labels.Scra
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
for _, chk := range chks {
|
for _, chk := range chks {
|
||||||
addChunk(c.minTime, c.maxTime, ref, chk.chunk)
|
addChunk(chk.minTime, chk.maxTime, ref, chk.chunk)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
var emptyChunk chunkenc.Chunk
|
var emptyChunk chunkenc.Chunk
|
||||||
|
|
Loading…
Reference in a new issue