Skip to content

Conversation

@morningli
Copy link

Some zk nodes have independent domain names. When the node changes, only the IP corresponding to the domain name is updated, and the domain name remains unchanged.

The current logic only resolves the domain name during initialization, and then uses the resolved IP to connect to ZK. The SDK cannot perceive the change of IP.

This pr can solve the above problem by trying to re-parse the domain name after all existing IPs cannot connect to ZK.

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.

1 participant