srowen commented on issue #24056: [SPARK-26152] Synchronize Worker Cleanup with 
Worker Shutdown
URL: https://github.com/apache/spark/pull/24056#issuecomment-472032753
 
 
   I agree that the isShutdown check and submission should be atomic, but don't 
know how worthwhile it is. The lock is worrisome. Instead, the pool could be 
changed to not throw an exception if it's submitted after shutdown.

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to