mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Mark range op as consumed if it receives no data points in range.
This commit is contained in:
parent
8e4c5b0cea
commit
a33d2726bc
|
@ -227,6 +227,7 @@ func (g *getValuesAlongRangeOp) ExtractSamples(in []model.SamplePair) (out []mod
|
||||||
return in[i].Timestamp.After(g.through)
|
return in[i].Timestamp.After(g.through)
|
||||||
})
|
})
|
||||||
if lastIdx == firstIdx {
|
if lastIdx == firstIdx {
|
||||||
|
g.from = g.through.Add(1)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue