Replies: 2 comments
-
I'm considering to add a property, The problem is how to detect the tis is belong to the task group.
|
Beta Was this translation helpful? Give feedback.
-
Considering the case of nested task groups, the 3rd solution may be changed as below: |
Beta Was this translation helpful? Give feedback.
-
And, to control the concurrency of task group, the option
max_active_tis_per_dag
andmax_active_tis_per_dagrun
on task_instance do not work well.Below is my simplified case:
Inside the mapped task group, there are two tasks: submit_job and wait_job.
The submit_job will finish very quickly.
The wait_job will be rescheduled till the job complete.
The
max_active_tis_per_dagrun
on submit_job cannot control the concurrency of the job, because it finished quickly.All jobs will be submitted in a short time.
Beta Was this translation helpful? Give feedback.
All reactions