Skip to content

Tags

Tags

nightly-master

Toggle nightly-master's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Handle IntegrityError while creating TIs (apache#10136)

While doing a trigger_dag from UI, DagRun gets created first and then WebServer starts creating TIs. Meanwhile, Scheduler also picks up the DagRun and starts creating the TIs, which results in IntegrityError as the Primary key constraint gets violated. This happens when a DAG has a good number of tasks.

Also, changing the TIs array with a set for faster lookups for Dags with too many tasks.

constraints-1.10.11

Toggle constraints-1.10.11's commit message
Added constraints for 1.10.11

constraints-1.10.10

Toggle constraints-1.10.10's commit message
Add orphan constraints for 1-10 branch 1.10.10 version

constraints-1.10.9

Toggle constraints-1.10.9's commit message
Add orphan constraints for 1-10 branch 1.10.10 version

constraints-1.10.8

Toggle constraints-1.10.8's commit message
Add orphan constraints for 1-10 branch 1.10.10 version

constraints-1.10.7

Toggle constraints-1.10.7's commit message
Add orphan constraints for 1-10 branch 1.10.10 version

constraints-1.10.6

Toggle constraints-1.10.6's commit message
Add orphan constraints for 1-10 branch 1.10.10 version

constraints-1.10.5

Toggle constraints-1.10.5's commit message
Add orphan constraints for 1-10 branch 1.10.10 version

constraints-1.10.4

Toggle constraints-1.10.4's commit message
Add orphan constraints for 1-10 branch 1.10.10 version

constraints-1.10.3

Toggle constraints-1.10.3's commit message
Add orphan constraints for 1-10 branch 1.10.10 version