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

Make queries distributed #1467

Closed
pauldix opened this issue Jan 31, 2015 · 1 comment
Closed

Make queries distributed #1467

pauldix opened this issue Jan 31, 2015 · 1 comment
Assignees
Milestone

Comments

@pauldix
Copy link
Member

pauldix commented Jan 31, 2015

Currently queries aren't distributed. The code around CreateIterators probably needs a bit of a refactor.

It should be able to plan an entire query, which should look up what shards need to be hit and which series ids in each of those shards needs to be queried.

There should be some sort of intermediate query struct that describes the query for a particular shard. That'll include the series ids and the filter information if filtering on a field e.g. WHERE value > 20.

This intermediate object is something that can be sent in a request to whatever data node has this shard.

So this will require adding a new data node endpoint that can get one of these and execute it.

@toddboom
Copy link
Contributor

This was finished with PRs #2202 and #2301.

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

No branches or pull requests

3 participants