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

Disabled connection pool in CLI might be harmful

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 1.10.9
    • Fix Version/s: None
    • Component/s: database
    • Labels:
      None

      Description

      Tasks are executed in CLI mode when connection pool to the database is disabled.

      `settings.configure_orm(disable_connection_pool=True)`

       

      While one task is run, multiple DB communications are happening while a separate connection is allocated for each of them.

       

      It results in DB failures.

       

      Default behavior might be ok but it worth making it configurable.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                khroliz Igor Khrol
                Reporter:
                khroliz Igor Khrol
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: