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

Implement failover to other data nodes for distributed queries #2190

Closed
pauldix opened this issue Apr 7, 2015 · 0 comments
Closed

Implement failover to other data nodes for distributed queries #2190

pauldix opened this issue Apr 7, 2015 · 0 comments
Assignees
Milestone

Comments

@pauldix
Copy link
Member

pauldix commented Apr 7, 2015

The remote mapper makes requests to data nodes to run their map task. If a data node is down it should switch over to the next one.

The server should also remember which data nodes were recently down and avoid hitting them. At some point they should be back in the rotation to balance load, but it should use some sort of exponential backoff.

The remote mapper request kickoff is here: https://github.com/influxdb/influxdb/blob/distributed-queries/remote_mapper.go#L81

As you can see it has an array of data nodes. There will need to be some way to have that share state somewhere across all the different goroutines/requests.

The data nodes get handed to the remote mapper here: https://github.com/influxdb/influxdb/blob/distributed-queries/tx.go#L157-L163

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

2 participants