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
zsxwing commented on issue #24796: [SPARK-27900][CORE] Add uncaught exception
handler to the driver
URL: https://github.com/apache/spark/pull/24796#issuecomment-499764530
> `onReceive()` is interrupted before `onStop()`
But there will be a race condition if removing `join`. We cannot
zsxwing commented on issue #24796: [SPARK-27900][CORE] Add uncaught exception
handler to the driver
URL: https://github.com/apache/spark/pull/24796#issuecomment-501049193
Before making the decision, I would like to understand why this dead lock
can happen. There are still some unknowns her