This is an automated email from the ASF dual-hosted git repository.

dimberman pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 5bc50183e0934f7368d9cd991074b2b581114395
Author: Elliott Shugerman <eshuger...@medianewsgroup.com>
AuthorDate: Tue Jun 9 14:12:47 2020 -0600

    [AIRFLOW-3973] Commit after each alembic migration (#4797)
    
    If `Variable`s are used in DAGs, and Postgres is used for the internal
    database, a fresh `$ airflow initdb` (or `$ airflow resetdb`) spams the
    logs with error messages (but does not fail).
    
    This commit corrects this by running each migration in a separate
    transaction.
    
    Co-authored-by: Elliott Shugerman <eeshuger...@medianewsgroup.com>
    
    (cherry picked from commit ea95e9c7236969acc807c65de0f12633d04753a0)
    (cherry picked from commit 5b48a5394ecf5aa1f2b50a00807e6149ade21968)

Reply via email to