-
Notifications
You must be signed in to change notification settings - Fork 634
Closed
Labels
closed-for-stalenessfeature-requestNew feature or enhancement. May require GitHub community feedback.New feature or enhancement. May require GitHub community feedback.p2This is a standard priority issueThis is a standard priority issueresponse-requestedWaiting on additional info and feedback. Will move to \"closing-soon\" in 7 days.Waiting on additional info and feedback. Will move to \"closing-soon\" in 7 days.
Description
Describe the feature
In Serverless v2, DatabaseResumingException occurs when ACU is 0 in auto-pause state, but retry does not work.
It is clear that the system will start up in a few seconds, so I want the retry to be performed.
Below is a sample code and log.
import {
RDSDataClient,
BeginTransactionCommand,
} from '@aws-sdk/client-rds-data'
const RDS = new RDSDataClient({
maxAttempts: 10,
})
result = await RDS.send(
new BeginTransactionCommand({
resourceArn: ****,
secretArn: ****,
database: ****,
})
)
"error": {
"name": "DatabaseResumingException",
"$fault": "client",
"$metadata": {
"httpStatusCode": 400,
"requestId": "***",
"attempts": 1,
"totalRetryDelay": 0
},
"message": "The Aurora DB instance arn:**** is resuming after being auto-paused. Please wait a few seconds and try again."
}
Use Case
In Serverless v2, if auto-pause is enabled
Proposed Solution
No response
Other Information
No response
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
SDK version used
@aws-sdk/client-rds-data: 3.699.0
Environment details (OS name and version, etc.)
Node 22
jsonfry
Metadata
Metadata
Assignees
Labels
closed-for-stalenessfeature-requestNew feature or enhancement. May require GitHub community feedback.New feature or enhancement. May require GitHub community feedback.p2This is a standard priority issueThis is a standard priority issueresponse-requestedWaiting on additional info and feedback. Will move to \"closing-soon\" in 7 days.Waiting on additional info and feedback. Will move to \"closing-soon\" in 7 days.