mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-26 05:01:23 -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)
|
||||
})
|
||||
if lastIdx == firstIdx {
|
||||
g.from = g.through.Add(1)
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue