Skip to content

Remember seed uri and DNS-lookup during rediscovery #220

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

Merged
merged 2 commits into from
Mar 21, 2017

Conversation

lutovich
Copy link
Contributor

Routing driver now memorizes seed router uri that was used on driver creation. It is later used as a fallback in case no existing routers respond during rediscovery. Also DNS resolution of this seed uri is performed if platform supports DNS lookup (only NodeJS, functionality not available in browser).

This functionality is useful when seed address exists in DNS record and does not correspond to any causal cluster member. Such setup allows driver to switch to a completely different causal cluster using DNS record manipulations.

Routing driver now memorizes seed router uri that was used on driver
creation. It is later used as a fallback in case no existing routers respond
during rediscovery. Also DNS resolution of this seed uri is performed if
platform supports DNS lookup (only NodeJS, functionality not available
in browser).

This functionality is useful when seed address exists in DNS
record and does not correspond to any causal cluster member. Such setup
allows driver to switch to a completely different causal cluster using
DNS record manipulations.
@zhenlineo zhenlineo merged commit 6bb8032 into neo4j:1.2 Mar 21, 2017
@lutovich lutovich deleted the 1.2-seed-uri-resolution branch March 21, 2017 15:19
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

Successfully merging this pull request may close these issues.

2 participants