-
Notifications
You must be signed in to change notification settings - Fork 54
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
fix: check whether the stale DNS plugin needs to do a force topology refresh #283
Conversation
wrapper/src/main/java/software/amazon/jdbc/plugin/staledns/AuroraStaleDnsHelper.java
Show resolved
Hide resolved
wrapper/src/main/java/software/amazon/jdbc/plugin/staledns/AuroraStaleDnsHelper.java
Outdated
Show resolved
Hide resolved
wrapper/src/main/java/software/amazon/jdbc/plugin/staledns/AuroraStaleDnsHelper.java
Outdated
Show resolved
Hide resolved
wrapper/src/main/java/software/amazon/jdbc/plugin/staledns/AuroraStaleDnsPlugin.java
Outdated
Show resolved
Hide resolved
wrapper/src/main/java/software/amazon/jdbc/plugin/staledns/AuroraStaleDnsHelper.java
Show resolved
Hide resolved
@@ -56,6 +56,8 @@ public class AuroraStaleDnsPlugin extends AbstractConnectionPlugin { | |||
private final PluginService pluginService; | |||
private final AuroraStaleDnsHelper helper; | |||
|
|||
static final String IS_READER_COLUMN = "is_reader"; |
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.
Do we still need it here in the plugin? Should we relocate it to the helper class?
@karenc-bq Hi! I have run some tests on my end with snapshots and it seems to be working great! |
Hi @shunyy, thank you for testing out the changes. Are you currently evaluating the driver for production use or do you have a timeline where you'd want an official release? We are aiming to do a aiming to do a release by end of January as there are other fixes that we want to include. #298. For convenience, we do offer snapshot builds here that would contains the fix from this PR: https://github.com/awslabs/aws-advanced-jdbc-wrapper/blob/main/docs/using-the-jdbc-driver/UsingTheJdbcDriver.md#using-a-snapshot-of-the-driver |
Thanks for the reply! I've been testing the snapshot version and wanted to use it in a production environment as soon as possible , but with the schedule you gave me, it's perfectly fine! Looking forward to it! |
Summary
fix: check whether the stale DNS plugin needs to do a force topology refresh
Description
Additional Reviewers
@sergiyvamz