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

Only replace existing pools in transactional tests #40487

Merged
merged 1 commit into from
Oct 29, 2020

Conversation

eugeneius
Copy link
Member

setup_shared_connection_pool replaces reading connection pools with writing ones, so that replica reads work as they would in production.

If a shard doesn't have a reading connection we should skip it, since adding one could lead to code that only works in the test environment.

`setup_shared_connection_pool` replaces reading connection pools with
writing ones, so that replica reads work as they would in production.

If a shard doesn't have a reading connection we should skip it, since
adding one could lead to code that only works in the test environment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants