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

PROPOSAL: Implement a run_pool concept for DagRuns

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.10.9
    • Fix Version/s: None
    • Component/s: DagRun, scheduler
    • Labels:
      None

      Description

      Currently we have a concept of resource pools for tasks, where there can be at most N instances of a task running at once. However, no such concept exists for DagRuns.

      For example, you might have a requirement that two DAGs (with different dag_id) cannot run at the same time, so you might define a run_pool for these DAGs with size 1. Meaning only 1 DagRun may be in the RUNNING state at a time.

      I am interested in hearing everyone's thoughts.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              thesuperzapper Mathew Wicks
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: