pierrejeambrun opened a new pull request, #47016: URL: https://github.com/apache/airflow/pull/47016
The delete `Log` table at the end of the `_check_last_log` without committing leaves the table locked. Any further read/write statement on the Log table after that will end up in a `locked db` error. To fix this, we remove that clean Log table at the end of `_check_last_log` and handle that in tests setups / teardown. (Another solution would have been to simply add an explicit `session.commit()` at the end of the `_check_last_log` function) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
