zsxwing commented on issue #24796: [SPARK-27900][CORE] Add uncaught exception 
handler to the driver
URL: https://github.com/apache/spark/pull/24796#issuecomment-499298514
 
 
   > If this is removed, I am not sure what goes wrong. If `onStop` happens 
before or after an `onReceive` during shutdown, that's fine. If it happens 
during `onReceive`, well, it has already been interrupted and won't complete 
normally.
   
   The potential issue is about thread-safety. Right now EventLoop ensures all 
`onXXX` calls run in sequence without any overlapping.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to