potiuk commented on issue #35644:
URL: https://github.com/apache/airflow/issues/35644#issuecomment-1812181064

   > That is exactly what a **Option 1** propose 😄
   > 
   
   Yeah. But it's not the same issue (or at least I believe it's not) - I 
believe the original issue was connected with SIGALRM not being properly 
handled by long-running low-level c-code. Catching and ignoring exceptions is a 
bad programming habit by anyone who run task in a loop from example described 
hy @hterik. You should generally ignore known exceptions not all of them if you 
want to add them to the loop in the fashon described here.
   
   We should still make the change to AirflowTaskTimeout inheriting from 
BaseException to handle this "bad programming" case of course - (we do not want 
our users to shoot themselves in a foot by not knowing that they are doing 
something wrong) - but I think Kafka case from #35474 was somethign entirely 
different (only loosely related). I highly doubt somone in Kafka code handles 
all exceptions this way - my guess is that SIGALRM was not handled there :) 
   


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