Meta queries (SHOW TAG VALUES, SHOW TAG KEYS, SHOW SERIES CARDINALITY, etc.) do not respect the QueryTimeout config parameter. Meta queries should check the query context when possible to allow cancellation and timeout. This will not be as frequent as regular queries, which use iterators, because meta queries return data in batches. Add a context.Context to (*Store).MeasurementNames() (*Store).MeasurementsCardinality() (*Store).SeriesCardinality() (*Store).TagValues() (*Store).TagKeys() (*Store).SeriesSketches() (*Store).MeasurementsSketches() which is tested for timeout or cancellation to allow limitation of time spent in meta queries https://github.com/influxdata/influxdb/issues/20736 (cherry picked from commit |
||
---|---|---|
.. | ||
backup | ||
backup_util | ||
help | ||
restore | ||
run | ||
main.go |