mike-tr-adamson opened a new pull request, #2487:
URL: https://github.com/apache/cassandra/pull/2487

   This fixes a concurrency issue with the `BlockBalancedTreeReader`. We 
incorrectly made the `TraversalState` a member of the `BlockBalancedTreeWalker` 
such that the same instance of `TraversalState` was used for all queries. This 
didn't work because the `TraversalState` isn't threadsafe.
   
   This fix separates the `TraversalState` from the `BlockBalancedTreeWalker` 
and creates a new `TraversalState` for each usage. This is a lightweight 
operation because the actual packed index is still being read when the walker 
is created. The `TraversalState` now only handles the mutable state of the 
traversal. 


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to