rtadepalli opened a new issue, #36151:
URL: https://github.com/apache/arrow/issues/36151

   ### Describe the enhancement requested
   
   `ParallelSearcher` dispatches multiple threads to search a large vector. The 
main synchronization variable here is `keyPosition`, which can be read and 
written to by multiple threads. All threads should have a consistent view of 
the state of this variable, hence it should be marked `volatile`.
   
   ### Component(s)
   
   Java


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to