Uploaded image for project: 'Apache Airflow'
  1. Apache Airflow
  2. AIRFLOW-5343

pool_pre_ping support for SQLAlchemy connection

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 1.10.4
    • Fix Version/s: 1.10.6
    • Component/s: configuration
    • Labels:
      None

      Description

      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
       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              khroliz Igor Khrol
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: