Skip to content

chore: update aurora initial connection strategy plugin implementation - #1253

Open
karenc-bq wants to merge 1 commit into
mainfrom
chore/initial-strategy-plugin
Open

chore: update aurora initial connection strategy plugin implementation#1253
karenc-bq wants to merge 1 commit into
mainfrom
chore/initial-strategy-plugin

Conversation

@karenc-bq

Copy link
Copy Markdown
Contributor

Description

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Comment thread aws_advanced_python_wrapper/aurora_initial_connection_strategy_plugin.py Outdated
"AuroraInitialConnectionStrategyPlugin.InvalidSettingForEndpoint",
WrapperProperties.VERIFY_OPENED_CONNECTION_ROLE.name, "writer", "reader cluster or custom cluster"))

def _get_candidate_host(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is accessible region filtering planned for here as well?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not in this PR, will be in the GDB PR

Comment on lines +370 to +372
# SUBSTITUTE_WITH_ANY has no specific target role; default to READER for host selection,
# mirroring the JDBC behavior where the selector treats a null role as "any".
selection_role = target_role if target_role is not None else HostRole.READER

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm I'm confused shouldn't substitute with any also accept a writer?

@karenc-bq
karenc-bq force-pushed the chore/initial-strategy-plugin branch from 7d32685 to 24a4316 Compare August 4, 2026 23:20
@karenc-bq
karenc-bq marked this pull request as ready for review August 4, 2026 23:34
@karenc-bq
karenc-bq force-pushed the chore/initial-strategy-plugin branch from 24a4316 to 86db9c6 Compare August 4, 2026 23:53
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