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

Make it compliant with testkit #7

Open
wants to merge 2 commits into
base: 5.4/home-db-res
Choose a base branch
from

Conversation

bigmontz
Copy link

@bigmontz bigmontz commented Jun 2, 2023

For making it compliant, the driver needs to:

  • Implement ForceHomeDatabaseResolution message on TK
  • Implement maxHomeDatabaseDelayMs param in NewDriver message on TK.
  • Use the cache in verifyAuthentication and verifyConnectivity
  • Keep the same database name for the entire session lifetime. This means the onDatabaseNameResolved should be called to signalise the session about the database name even if the resolution was taken from the cache. Otherwise, the session can pick connection to other database if the cache expires or the driver.forceHomeDatabaseResolution get called.

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