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
Fix cluster uri resolution #5869
Conversation
Reverts part of 5f7bf49 Reason: When cluster members do not specify `ha.server` setting (not required), the slaves are unable to join the cluster in certain cases.
Thinking that the behaviour that this PR aims to revert might be useful in some environments (multi-datacenter f.ex.), should we instead of reverting introduce another config option |
@tinwelint We shouldn't introduce new functionality in a patch release. I think it's better to try to fix the default behavior to take these changes into account. |
It was scheduled for removal when Neo4j was Java7 only
You should NOT resolve the address, NOR should you resolve the hostname.
@tinwelint New suggested behavior pushed |
Tests show this is insufficient to fix connectivity in all network cases. Edit: This actually fixes the regression. We have additional problems which will be addressed for 3.0 |
Reverts part of 5f7bf49
Reason:
When cluster members do not specify
ha.server
setting (not required),the slaves are unable to join the cluster in certain cases.