(cherry picked from commit 8bd4fc502d
)
closes https://github.com/influxdata/influxdb/issues/23460
Co-authored-by: Dane Strandboge <dstrandboge@influxdata.com>
pull/23471/head
parent
07ee889eb3
commit
75ed51b9c3
|
@ -1075,6 +1075,7 @@ func (i *Index) TagValueSeriesIDIterator(name, key, value []byte) (tsdb.SeriesID
|
|||
for _, p := range i.partitions {
|
||||
itr, err := p.TagValueSeriesIDIterator(name, key, value)
|
||||
if err != nil {
|
||||
tsdb.SeriesIDIterators(a).Close()
|
||||
return nil, err
|
||||
} else if itr != nil {
|
||||
a = append(a, itr)
|
||||
|
|
Loading…
Reference in New Issue