influxdb/influxql
davidby-influx 9c33764b6d
fix: do not panic on cleaning up failed iterators (#21666) (#23319)
We have seen occasional panics in Iterators.Close()
when cleaning up after failed iterator creation.
This commit checks for nil on any iterator to be
closed, and now returns any errors generated by
that Close().

Closes https://github.com/influxdata/influxdb/issues/19579
Closes https://github.com/influxdata/influxdb/issues/19476

(cherry picked from commit acc4105b8c)

closes https://github.com/influxdata/influxdb/issues/23271
2022-04-29 14:21:21 -07:00
..
control feat(influxql): Initial implementation of InfluxQL query engine 2020-08-14 12:37:30 -07:00
mock feat(influxql): Initial implementation of InfluxQL query engine 2020-08-14 12:37:30 -07:00
query fix: do not panic on cleaning up failed iterators (#21666) (#23319) 2022-04-29 14:21:21 -07:00
v1tests build: upgrade to Go 1.18.1 (#23252) 2022-04-13 15:24:27 -05:00
v1validation build: upgrade to Go 1.18.1 (#23252) 2022-04-13 15:24:27 -05:00
errors.go feat(influxql): Initial implementation of InfluxQL query engine 2020-08-14 12:37:30 -07:00
query_request.go fix: more expressive errors (#22448) 2021-09-13 15:12:35 -04:00
query_request_test.go chore: add goimports 2021-01-29 14:06:52 -05:00
service.go feat(influxql): Initial implementation of InfluxQL query engine 2020-08-14 12:37:30 -07:00
statistics.go feat(influxql): Initial implementation of InfluxQL query engine 2020-08-14 12:37:30 -07:00