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

Remove assumptions about peer ports #76

Open
swsnider opened this issue May 9, 2017 · 0 comments
Open

Remove assumptions about peer ports #76

swsnider opened this issue May 9, 2017 · 0 comments

Comments

@swsnider
Copy link

swsnider commented May 9, 2017

Per a discussion (https://groups.google.com/d/msgid/prometheus-developers/CAL%2BpMaAC4mo%3DaD1D7PbUcK1S0UAQ2YqyzhE%2BjND7tt_8ys0MtQ%40mail.gmail.com?utm_medium=email&utm_source=footer) on the Prometheus mailing list about the component that uses this mesh library, it appears that if a peer's port is not the same as one of the ports in the statically configured initial peers list, the other cluster members will fail to connect to it directly, presumably because the gossip messages about peer membership don't contain port information.

I have a use case where I run software on top of a cluster scheduler (like Apache Aurora) where I get random assigned ports for each instance in there cluster, which would mean that I can't use anything that uses this library in that cluster effectively. Please fix the library so that there are no hidden assumptions about how to connect to each peer.

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

1 participant