zhli1142015 commented on pull request #28769: URL: https://github.com/apache/spark/pull/28769#issuecomment-641708172
> So looks like there're two different issues - 1) resource leaks in general 2) concurrent usage on KV store. > > @srowen and me have been talking about the issue 1), while @zhli1142015 is pointing out 2) - race condition - as store can be closed while the other thread "already" obtained the iterator and not closed yet. It should help to avoid 2) if we fix the issue 1), but it doesn't completely prevent the chance of 2). Thanks for you summary. ---------------------------------------------------------------- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org