-
Notifications
You must be signed in to change notification settings - Fork 15
feat: srw #1048
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
base: main
Are you sure you want to change the base?
Conversation
|
|
||
|
|
||
| # Common tests for both plugins | ||
| def test_set_read_only_true( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like some of the tests mostly only has the setup in common for the two plugins. Curious if we should just split them into separate test cases.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be separated in the newest version
aws_advanced_python_wrapper/simple_read_write_splitting_plugin.py
Outdated
Show resolved
Hide resolved
|
|
||
| if ( | ||
| url_type == RdsUrlType.RDS_WRITER_CLUSTER | ||
| or self._verify_opened_connection_type == HostRole.WRITER |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Curious about the relationship between the config params srw_verify_initial_connection_type and srw_verify_new_connections. Looks like we only verify initial connection if srw_verify_new_connections is specified, otherwise it is no op. Could we just double check to ensure we make that extra clear via docs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added another note on top of what was already in the docs :)
Description
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.