awslabs / simple-database-archival-solution

Simple Database Archival Solution (SDAS) is an open source solution which you can deploy in your AWS account to archive data to AWS. SDAS provides organizations with an efficient, easy and cost-effective solution for archiving Oracle, Microsoft SQL, PostgreSQL, and MySQL databases.
Apache License 2.0
39 stars 8 forks source link

fix: Correct Job Status Handling in getDatabaseSchema Function #34

Closed ruiscosta closed 10 months ago

ruiscosta commented 10 months ago

This commit addresses an issue in the getDatabaseSchema function where the job status 'In Progress' was incorrectly treated as a failure state. Changes include:

The revised function now properly waits for background processing to complete before fetching the results, enhancing reliability and accuracy of the job status checking mechanism.