mirror of
https://github.com/prometheus/prometheus
synced 2024-12-29 02:02:17 +00:00
Do not error on empty chunk during iteration in populateWithDelChunkSeriesIterator
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
This commit is contained in:
parent
d0e683e26d
commit
ad79fb9f25
@ -705,12 +705,7 @@ func (p *populateWithDelChunkSeriesIterator) Next() bool {
|
||||
if valueType == chunkenc.ValNone {
|
||||
if err := p.currDelIter.Err(); err != nil {
|
||||
p.err = errors.Wrap(err, "iterate chunk while re-encoding")
|
||||
return false
|
||||
}
|
||||
|
||||
// Empty chunk, this should not happen, as we assume full
|
||||
// deletions being filtered before this iterator.
|
||||
p.err = errors.New("populateWithDelChunkSeriesIterator: unexpected empty chunk found while rewriting chunk")
|
||||
return false
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user