WIP DMS: Pass timeout through function calls#37136
Conversation
Community NoteVoting for Prioritization
For Submitters
|
b09397a to
559b0cb
Compare
|
Did a manual test in our environment and looks like I'm not hitting the same errors as before. Here's timings I believe creation/deletion increases over time since these are all on the same instance and the changes get internally queued on the AWS side (with limited concurrency) |
|
I did hit now which I think must be a result of how connection testing works. All these DMS tasks use different PG databases/tables and send to the same target (S3) on the same replication instance |
These hardcoded timeouts in waiters are being exceeded and there's currently no way to configure them. This passes through remaining time using context.WithTimeout
58457fd to
c6f0904
Compare
- Check to see if there's already an existing successful test before starting a new one - Don't fail out of the test loop if a connection is already being tested - Add replication instance filter to TestConnection waiter since tests are based on (replication instance, endpoint)
c6f0904 to
478c123
Compare
|
@justinretzolk any chance can this get reviewed? I had to write a couple of bash script lines to ensure that the dms tasks reach a certain state before our |
|
Warning This Issue has been closed, meaning that any additional comments are much easier for the maintainers to miss. Please assume that the maintainers will not see them. Ongoing conversations amongst community members are welcome, however, the issue will be locked after 30 days. Moving conversations to another venue, such as the AWS Provider forum, is recommended. If you have additional concerns, please open a new issue, referencing this one where needed. |
These hard coded timeouts in waiters are being exceeded and there's currently no way to configure them. This passes through remaining time
Description
More configurable DMS task timeouts.
Relations
Closes #37026
References
Output from Acceptance Testing
TODO
- Update DMS task resource so thetimeout {}block works- Switch to using ctx.WithTimeout instead of passing around time.Duration