Dynamically mapped sensor with mode='reschedule' fails with violated foreign key constraint #25095
Closed
1 of 2 tasks
Labels
Projects
Milestone
Apache Airflow version
2.3.3 (latest released)
What happened
If you are using Dynamic Task Mapping to map a Sensor with
.partial(mode='reschedule')
, and if that sensor fails its poke condition even once, the whole sensor task will immediately die with an error like:A similar error arises when using a Postgres backend:
mode='poke'
seems to behave as expected. As far as I can tell, this affects all Sensor types.What you think should happen instead
This combination of features should work without error.
How to reproduce
Operating System
CentOS Stream 8
Versions of Apache Airflow Providers
N/A
Deployment
Other
Deployment details
Standalone
Anything else
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: