You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you please verify if the latest changes address the issue for you? You can find the latest change in the snapshot build. More information on how to use the snapshot build is available here.
Describe the bug
thank you for failover2 plugin, i think it will address #1026
I use pluginFactories to specify plugins, not wrapperPlugins property string.
When I tried to upgrade to 2.4.0, I came across an issue at https://github.com/aws/aws-advanced-jdbc-wrapper/blob/main/wrapper/src/main/java/software/amazon/jdbc/dialect/AuroraPgDialect.java?secureweb=Teams#L133
Because of https://github.com/aws/aws-advanced-jdbc-wrapper/blob/main/wrapper/src/main/java/software/amazon/jdbc/ConnectionPluginChainBuilder.java?secureweb=Teams#L145 , where preference is given to pluginFactories , it's possible to have a workaround and specify
targetDataSourceProperties.setProperty(PropertyDefinition.PLUGINS.name, "failover2");
and get passed this issue.
Expected Behavior
code in AuroraPgDialect should take pluginFactories into account
What plugins are used? What other connection properties were set?
failover2
Current Behavior
wrapperPlugins need to contain "failover2" for AuroraPgDialect to use MonitoringRdsHostListProvider
Reproduction Steps
use failover2 plugin with pluginFactories only
Possible Solution
No response
Additional Information/Context
No response
The AWS Advanced JDBC Driver version used
2.4.0
JDK version used
21
Operating System and version
unix
The text was updated successfully, but these errors were encountered: