davidcaron opened a new pull request, #23674:
URL: https://github.com/apache/airflow/pull/23674

   closes: #23411
   
   When checking the `ReadyToRescheduleDep` dependency, the `reschedule` 
property is checked (as explained in `UPDATING.md` in this commit: 
https://github.com/apache/airflow/commit/8b276c6fc191254d96451958609faf81db994b94)
   
   
https://github.com/apache/airflow/blob/ea15277563c472efe4ef2efaa2424d728a80f987/airflow/ti_deps/deps/ready_to_reschedule.py#L43
   
   But `ti.task` is a `SerializedBaseOperator` object, not the original 
operator. So this serialized object doesn't have the `mode` or `reschedule` 
attributes, because they are not explicitly included when serializing.
   
   The effect this had was that the sensor task was executed repeatedly, 
ignoring any other constraints (`poke_interval` for example). The scheduler 
would eventually fail the task, but this usually happened in a couple seconds.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to