icexelloss commented on PR #36499:
URL: https://github.com/apache/arrow/pull/36499#issuecomment-1625727750

   
   > This case doesn't always occur though it is indeed the common one. It 
occurs when the input-receiving thread invalidates the key hasher while the 
processing thread is not executing HashesFor concurrently. In this case, the 
invalidation sets KeyHasher::batch_ to nullptr, and the processing threads 
finds this nullptr in a later invocation of HashesFor.
   > The other case (also 
https://github.com/apache/arrow/pull/36499#discussion_r1255982569) is when the 
processing thread is executing HashesFor concurrently with the input-receiving 
thread executing Invalidate.
   
   I am trying understand the issue before this PR, but you seems to explaining 
the behavior after the code change here?


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

To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to