-
Notifications
You must be signed in to change notification settings - Fork 537
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
Join cluster using hostnames #118
Comments
Might be worth referring to Redis for this - I had an old issue here: redis/redis#2410 |
Sorry no plans to work with hostnames so far. Consider that nodes can be moved to different IPs and will be able to rejoin the cluster and update the other nodes configuration with the new IP. However this only works when there is no natting or port remapping of any kind (see Docker & co). So first step is to fix Redis & Disque cluster to work well in natted environments. Then to consider if it's worth or not to use hostname (I doubt, because they add an additional layer of indirection, but who knows). |
Ah, i had no idea that this is how it's supposed to work. Thank clears things up, thanks! |
When joining a cluster using hostnames and not actual IP addresses, we see the following error using the command
disque cluster meet some-node.example.com 7711
:(error) ERR Invalid node address specified: some-node.example.com:7711
If we supply the actual IP address of that server, the
join
command works.Is this expected behavior?
The text was updated successfully, but these errors were encountered: