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

feat: HostSpec to not default lastUpdateTime. Handle null lastUpdateTime in RdsHostListProvider #877

Merged

Conversation

aaronchung-bitquill
Copy link
Contributor

Summary

feat: HostSpec to not default lastUpdateTime. Handle null lastUpdateTime in RdsHostListProvider

Description

No more defaultLastUpdateTime in the HostSpecBuilder (previously it would default if lastUpdateTime was null).
In the RdsHostListProvider#processQueryResults where it sorts writer hosts based on lastUpdateTime, it handles null lastUpdateTime values by sorting/deprioritizing them to last.

Additional Reviewers

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

@aaronchung-bitquill aaronchung-bitquill force-pushed the feature/remove-default-host-last-update-time branch from 06da9df to 5280d61 Compare February 8, 2024 06:56
@aaronchung-bitquill aaronchung-bitquill force-pushed the feature/remove-default-host-last-update-time branch from 5280d61 to aeace9d Compare February 9, 2024 00:11
@karenc-bq karenc-bq enabled auto-merge (squash) February 9, 2024 00:43
@karenc-bq karenc-bq merged commit f7bc8a8 into aws:main Feb 9, 2024
5 checks passed
@karenc-bq karenc-bq deleted the feature/remove-default-host-last-update-time branch February 13, 2024 16:12
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.

3 participants