MatrixManAtYrService edited a comment on pull request #17405:
URL: https://github.com/apache/airflow/pull/17405#issuecomment-985806910


   @jmaldon1 My impression is that `clear` is called on a task's xcoms before 
it runs. This is to prevent data from a prior rerun from influencing the 
current task execution. This way a task can assume that its XComs are always in 
a blank slate, whether it's a run or a rerun.
   
   I'll have an opportunity to verify this impression soon and I'll be sure to 
report back and correct it if I'm wrong.  I'll also let you know if I stumble 
across an understanding of `delete`. (A guess it's that it's called when the 
dagrun is deleted)


-- 
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