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

Hostname detection is broken #345

Closed
jvshahid opened this issue Mar 16, 2014 · 3 comments
Closed

Hostname detection is broken #345

jvshahid opened this issue Mar 16, 2014 · 3 comments
Milestone

Comments

@jvshahid
Copy link
Contributor

The domain name of the server can change depending on the network/dhcp that the server connects to. This can cause the server to wait indefinitely for itself to be added to the list of servers. For example if the server was started for the first time as foo.home.network and changed to foo.work.network it will wait indefinitely for foo.home.network to be added to the list of servers before it starts. We can solve this problem by using the unqualified hostname or by using the raft id to identify the servers.

@pauldix
Copy link
Member

pauldix commented Mar 17, 2014

I updated it to use the Raft id a while ago. This should be fixed already in the 0.5.0 line: https://github.com/influxdb/influxdb/blob/master/src/cluster/cluster_configuration.go#L207

@jvshahid
Copy link
Contributor Author

There are still places that use the connection string https://github.com/influxdb/influxdb/blob/master/src/coordinator/coordinator.go#L794

@pauldix pauldix modified the milestones: 0.5.9, 0.6.0 Apr 18, 2014
@pauldix pauldix modified the milestones: 0.5.10, 0.5.9, 0.5.11 Apr 18, 2014
@jvshahid jvshahid modified the milestones: 0.5.12, 0.5.11 Apr 25, 2014
@jvshahid
Copy link
Contributor Author

This is covered by #478 and #419. Closing this story

@jvshahid jvshahid removed their assignment Feb 24, 2015
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