If the staging database restore runs concurrently with a staging data refresh, it wipes out the DB while it is being acted upon and causes everything to fail (noisily).
Something must not be working in the existing concurrency checks.
Workaround: disable the staging_database_restore DAG while testing data refreshes in staging (hence high priority rather than critical).
Description
If the staging database restore runs concurrently with a staging data refresh, it wipes out the DB while it is being acted upon and causes everything to fail (noisily).
Something must not be working in the existing concurrency checks.
Workaround: disable the staging_database_restore DAG while testing data refreshes in staging (hence high priority rather than critical).