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

Duplicate IDs for cluster members #972

Closed
silasistefan opened this issue Sep 26, 2014 · 6 comments
Closed

Duplicate IDs for cluster members #972

silasistefan opened this issue Sep 26, 2014 · 6 comments
Milestone

Comments

@silasistefan
Copy link

duplicate ids

I did:
for node in node{2..5}; do time curl -X DELETE "http://$node:8086/cluster/servers/1?u=root&p=root"& done

I removed all files under /opt/influxdb/shared/data/ from node1, then restarted it.
Could it be because I'm not using standard ports?

@jvshahid
Copy link
Contributor

What version of InfluxDB are you using ?

@silasistefan
Copy link
Author

0.8.3

@jvshahid
Copy link
Contributor

You just mentioned that you upgraded from an earlier version. What was the first version you installed on these servers.

@silasistefan
Copy link
Author

0.8.2 was the initial version installed.
About 4-6 hours ago I upgraded to 0.8.3.

@jvshahid
Copy link
Contributor

Did you try to remove a server or change the hostname of a server ?

@silasistefan
Copy link
Author

Yes, I tried to remove node1 from the cluster. After it was removed, I tried to add it back.
To remove it I used:

for node in node{2..5}; do curl -X DELETE 'http://$node:8086/cluster/servers/23?u=root&p=root'& done

Because doing it on the 2nd node only or node by node wasn't fast enough, node was getting back in the cluster.

@jvshahid jvshahid added this to the 0.8.4 milestone Oct 8, 2014
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