You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Ash Berlin-Taylor (Jira)" <ji...@apache.org> on 2019/09/06 09:14:00 UTC

[jira] [Resolved] (AIRFLOW-5343) pool_pre_ping support for SQLAlchemy connection

     [ https://issues.apache.org/jira/browse/AIRFLOW-5343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ash Berlin-Taylor resolved AIRFLOW-5343.
----------------------------------------
    Fix Version/s: 1.10.6
       Resolution: Done

> pool_pre_ping support for SQLAlchemy connection
> -----------------------------------------------
>
>                 Key: AIRFLOW-5343
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-5343
>             Project: Apache Airflow
>          Issue Type: Task
>          Components: configuration
>    Affects Versions: 1.10.4
>            Reporter: Igor Khrol
>            Priority: Minor
>             Fix For: 1.10.6
>
>
> SQLalchemy supports connection check while returning it from the pool. There is a need to allow this parameter (`pool_pre_ping`) while creating the connection to database.
>  
> [https://docs.sqlalchemy.org/en/13/core/pooling.html#disconnect-handling-pessimistic]
> [https://github.com/apache/airflow/blob/master/airflow/settings.py#L189]
>  



--
This message was sent by Atlassian Jira
(v8.3.2#803003)