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

Retry on RDSDataService Communications link failure #2931

Merged
merged 2 commits into from
Jan 9, 2020
Merged

Retry on RDSDataService Communications link failure #2931

merged 2 commits into from
Jan 9, 2020

Conversation

thomasmichaelwallace
Copy link
Contributor

@thomasmichaelwallace thomasmichaelwallace commented Nov 1, 2019

Closes #2914

Running AWS.RDSDataService.executeStatement against an auto-paused Serverless Aurora in a paused state results in 400 - BadRequestException: Communications link failure.

I have limited making retryable to the following conditions:

  • Status code is 400
  • Error code is BadRequestException
  • Error message starts with Communications link failure

I included the error message condition because the service documentation is not clear that "BadRequestException" is limited to this condition.

Checklist
  • npm run test passes
  • .d.ts file is updated
  • changelog is added, npm run add-change
  • run bundle exec rake docs:api and inspect doc/latest/index.html if documentation is changed
  • run npm run integration if integration test is changed
  • non-code related change (markdown/git settings etc)

@thomasmichaelwallace
Copy link
Contributor Author

@ajredniwja is there anyone I should ping for a review?

@ajredniwja
Copy link
Contributor

@AllanFly120 will review this soon.
Thank-you for your patience.

@thomasmichaelwallace
Copy link
Contributor Author

🚀 ?

@coyoteecd
Copy link

@ajredniwja can you or some other contributor review and merge this? We're also looking at using Data API and this issue definitely lowers the developer experience.

Copy link
Contributor

@AllanZhengYP AllanZhengYP left a comment

Choose a reason for hiding this comment

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

Looks good to me! Thank you for the contribution!

@AllanZhengYP AllanZhengYP merged commit bf1ebe0 into aws:master Jan 9, 2020
@lock
Copy link

lock bot commented Jan 16, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RDSDataService "Communications link failure" when unpausing
4 participants