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
This commit addresses an issue in the getDatabaseSchema function where the job status 'In Progress' was incorrectly treated as a failure state. Changes include:
Updated the polling logic to correctly handle 'In Progress' as an ongoing state, allowing the function to continue polling until the job reaches a 'Completed' state.
Adjusted error handling to throw an error only if the job status is neither 'Pending', 'In Progress', nor 'Completed', indicating an actual failure or an unexpected status.
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.
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.