influxdb/influxql/query
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
..
internal build: upgrade protobuf library (#22654) 2021-11-02 16:00:54 -05:00
mocks feat(influxql): Initial implementation of InfluxQL query engine 2020-08-14 12:37:30 -07:00
neldermead chore(tsdb): Initial commit of tsdb package 2020-08-03 09:17:23 -07:00
call_iterator.go feat(influxql): Add hyper log log operators (#22322) 2021-08-30 15:46:46 -04:00
call_iterator_test.go chore(tsdb): Initial commit of tsdb package 2020-08-03 09:17:23 -07:00
cast.go chore(tsdb): Initial commit of tsdb package 2020-08-03 09:17:23 -07:00
compile.go feat(influxql): Add hyper log log operators (#22322) 2021-08-30 15:46:46 -04:00
compile_internal_test.go feat(influxql): rewrite regex conditions in subqueries (#20882) 2021-03-15 13:04:38 -04:00
compile_test.go fix: error instead of panic for statement rewrite failure (#21800) 2021-07-06 16:35:34 -04:00
cursor.go chore(tsdb): Initial commit of tsdb package 2020-08-03 09:17:23 -07:00
emitter.go refactor: move v2/v1/models to v2/models 2020-08-03 09:20:51 -07:00
execution_context.go feat(influxql): Initial implementation of InfluxQL query engine 2020-08-14 12:37:30 -07:00
executor.go fix: more expressive errors (#22448) 2021-09-13 15:12:35 -04:00
executor_test.go feat(influxql): Initial implementation of InfluxQL query engine 2020-08-14 12:37:30 -07:00
explain.go feat(influxql): Initial implementation of InfluxQL query engine 2020-08-14 12:37:30 -07:00
functions.gen.go feat(influxql): Add hyper log log operators (#22322) 2021-08-30 15:46:46 -04:00
functions.gen.go.tmpl feat(influxql): Add hyper log log operators (#22322) 2021-08-30 15:46:46 -04:00
functions.go feat(influxql): Add hyper log log operators (#22322) 2021-08-30 15:46:46 -04:00
functions_test.go test: skip HoltWinters tests when GOARCH != amd64 (#22414) 2021-09-07 16:15:31 -04:00
iterator.gen.go build: upgrade protobuf library (#22654) 2021-11-02 16:00:54 -05:00
iterator.gen.go.tmpl build: upgrade protobuf library (#22654) 2021-11-02 16:00:54 -05:00
iterator.go fix: do not panic on cleaning up failed iterators (#21666) (#23319) 2022-04-29 14:21:21 -07:00
iterator_mapper.go chore(tsdb): Initial commit of tsdb package 2020-08-03 09:17:23 -07:00
iterator_mapper_test.go chore(tsdb): Initial commit of tsdb package 2020-08-03 09:17:23 -07:00
iterator_test.go feat(influxql): Add hyper log log operators (#22322) 2021-08-30 15:46:46 -04:00
linear.go chore(tsdb): Initial commit of tsdb package 2020-08-03 09:17:23 -07:00
math.go chore(tsdb): Initial commit of tsdb package 2020-08-03 09:17:23 -07:00
math_test.go chore(tsdb): Initial commit of tsdb package 2020-08-03 09:17:23 -07:00
point.gen.go build: upgrade protobuf library (#22654) 2021-11-02 16:00:54 -05:00
point.gen.go.tmpl build: upgrade protobuf library (#22654) 2021-11-02 16:00:54 -05:00
point.go build: upgrade protobuf library (#22654) 2021-11-02 16:00:54 -05:00
point_test.go chore(tsdb): Initial commit of tsdb package 2020-08-03 09:17:23 -07:00
proxy_executor.go fix: more expressive errors (#22448) 2021-09-13 15:12:35 -04:00
query.go build: upgrade protobuf library (#22654) 2021-11-02 16:00:54 -05:00
response.go feat(influxql): Initial implementation of InfluxQL query engine 2020-08-14 12:37:30 -07:00
response_writer.go fix(influxql): set correct Content-Type on v1 query responses (#20565) 2021-01-22 07:31:52 -08:00
result.go chore: remove unused member from TagSet (#22930) 2021-11-24 14:43:50 -05:00
select.go fix: more expressive errors (#22448) 2021-09-13 15:12:35 -04:00
select_test.go test: skip HoltWinters tests when GOARCH != amd64 (#22414) 2021-09-07 16:15:31 -04:00
statement_rewriter.go chore(influxql): Update to latest influxql master-1.x 2020-08-13 11:02:40 -07:00
statement_rewriter_test.go chore(tsdb): Initial commit of tsdb package 2020-08-03 09:17:23 -07:00
subquery.go chore(tsdb): Initial commit of tsdb package 2020-08-03 09:17:23 -07:00
subquery_test.go feat(influxql): Initial implementation of InfluxQL query engine 2020-08-14 12:37:30 -07:00
tmpldata chore(tsdb): Initial commit of tsdb package 2020-08-03 09:17:23 -07:00