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

Support returning chunked query results within the same series #6115

Closed
jsternberg opened this issue Mar 24, 2016 · 0 comments
Closed

Support returning chunked query results within the same series #6115

jsternberg opened this issue Mar 24, 2016 · 0 comments

Comments

@jsternberg
Copy link
Contributor

The InfluxDB server supports sending back a chunked response so that data can be sent back iteratively rather than all at once.

Unfortunately, the current implementation will only use chunked responses for these two reasons:

  1. The name/tag of the series has changed.
  2. It is returning the result of a different command.

So the following query will only return two chunks no matter how large the response.

SELECT value FROM cpu WHERE host = 'server01'
SELECT value FROM cpu WHERE host = 'server02'
@jsternberg jsternberg self-assigned this Mar 24, 2016
jsternberg added a commit that referenced this issue Mar 29, 2016
Limit the maximum size of the return value when chunking is not used to
prevent the server from going out of memory.

Fixes #6115.
jsternberg added a commit that referenced this issue Mar 30, 2016
Limit the maximum size of the return value when chunking is not used to
prevent the server from going out of memory.

Fixes #6115.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant