Github user aarondav commented on the pull request:

    https://github.com/apache/spark/pull/1332#issuecomment-48376758
  
    This type of concurrency problem can be a correctness issue, albeit with 
low probability. For instance, we could at any point read a 
not-fully-instantiated "_cachedColumnBuffers", which would not be null but 
still be in an invalid state, leading to a very tricky exception. This is a 
problem even without the byte buffer reuse -- use of the same InMemoryRelation 
in two different threads could now cause this issue.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to