Also inexplicitly got error `scheduler error (sqlite3.OperationalError) database is locked`.
Resulting from query DELETE FROM dag_code WHERE dag_code.fileloc_hash NOT IN (?) AND dag_code.fileloc NOT IN (?) Filed here https://github.com/apache/airflow/issues/12999 Possibly related to https://github.com/apache/airflow/issues/12290 (but this is a 1.10.12)