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

Add NodeID to execution options #6820

Merged
merged 1 commit into from
Jun 10, 2016

Conversation

benbjohnson
Copy link
Contributor

@benbjohnson benbjohnson commented Jun 10, 2016

Overview

This pull request changes the ExecutionOptions and SelectOptions to allow a NodeID for specifying an exact node to query against. HTTP support is also added with a node_id field.

/cc @jwilder

TODO

  • Rebased/mergable
  • Tests pass
  • CHANGELOG.md updated

This commit changes the `ExecutionOptions` and `SelectOptions` to
allow a `NodeID` for specifying an exact node to query against.
@jsternberg
Copy link
Contributor

Looks fine to me, but @jwilder should take a look at it too. I would say that I think this is leaking a bit too much of the clustering code into the open source version and we should consider how to make the handler more extensible.

@benbjohnson
Copy link
Contributor Author

@jsternberg I agree it's leaky but I wasn't sure of a better way to do it. The ShardInfo includes an owner id so I didn't think it was too far off.

@jwilder
Copy link
Contributor

jwilder commented Jun 10, 2016

👍

@benbjohnson benbjohnson merged commit 48f1a6d into influxdata:master Jun 10, 2016
@benbjohnson benbjohnson deleted the http-query-node-id branch June 10, 2016 19:10
@timhallinflux timhallinflux added this to the 1.0.0 milestone Dec 19, 2016
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.

4 participants