Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(influxql): make meta queries respect query timeout #21545

Merged
merged 1 commit into from
May 25, 2021

Conversation

danxmoran
Copy link
Contributor

Closes #20738

Forward-ports #20736. It wasn't a clean cherry-pick, but I think the interesting code in tsdb/store.go and tsdb/store_test.go is an exact match.

Co-authored-by: davidby-influx <dbyrne@influxdata.com>
Copy link
Contributor

@davidby-influx davidby-influx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like a good cherry-pick, given the merging necessary.

@@ -31,7 +31,7 @@ type Engine interface {
influxdb.BackupService
influxdb.RestoreService

SeriesCardinality(orgID, bucketID platform.ID) int64
SeriesCardinality(ctx context.Context, bucketID platform.ID) int64
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The orgID is not a placeholder for some future usage?

@danxmoran danxmoran merged commit 00420fb into master May 25, 2021
@danxmoran danxmoran deleted the dm-forward-port-metaquery-timeout-20738 branch May 25, 2021 01:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make meta queries respect QueryTimeout values [forward-port 2.x]
2 participants