jiangxb1987 commented on issue #24699: [SPARK-27666][CORE] Do not release lock 
while TaskContext already completed
URL: https://github.com/apache/spark/pull/24699#issuecomment-496753112
 
 
   We can go either way, both looks fine to me. I would refactor 
`releaseLockAndDispose()` further to take into account whether task has been 
completed, but the current change should resolved the issue too, I'm just 
afraid it's kinda overkill to pass in the whole TaskContext.

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