Anurag-S1ngh opened a new issue, #77901:
URL: https://github.com/apache/airflow/issues/77901

   ### What happens
   
   A failing trigger is re-created after a growing delay (#77087). Triggers 
that share an underlying stream, such as asset watchers on the same source, do 
not share that delay. A watcher added to a stream that is already failing 
starts at its first failure, so it comes back after the base delay while the 
others wait longer. In a Breeze run with three watchers on one failing stream, 
the stream was reopened 10 times in 150s, never by all three.
   
   ### Why it is separate
   
   The delay is tracked from the failure rows, but the shared stream key is 
computed in the triggerer runner after template rendering. The supervisor does 
not have it.
   
   ### Proposal
   
   - pass the shared stream key with the failure, or store it on the trigger row
   - use the largest delay among the triggers waiting on the same stream
   - keep the per-trigger counts as they are
   
   ### Done when
   
   - watchers on one failing stream are re-created together after one delay, 
including a late joiner
   - a trigger without a shared key keeps its own delay
   


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

  • [I] Give triggers sharing ... Anurag-S1ngh (via GitHub) via commits

Reply via email to