turbaszek commented on issue #11302:
URL: https://github.com/apache/airflow/issues/11302#issuecomment-704318109


   > Do you have a case where it's interesting to know what job created the 
DagRun? (I ask because I can't think of one immediately)
   
   I have an operator that triggers backfill job and observes that process. If 
the "parent" task dies (SIGKILL) then there are zombie tasks (scheduled/none 
state) from backfill job that are not cleaned up by anything. But that's 
probably an egde case + we use custom implementation of BackfillJob (that's why 
I was able to fix it using `DagRun.conf` for storing job_id - a hack). 
   
   However, I think that this information can be helpful in case of multiple 
schedulers, for example, to find that only one of them has some problems (no 
idea what problems).
   
   So, basically my suggestion is about adding not crucial information that 
**may** help sometimes 😄 
   
   > I would probably suggest naming it `created_by_job_id` - it's a bit 
clearer what it stores then just `job_id`
   
   +1 to this


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

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


Reply via email to