jaydeepkumar1984 opened a new pull request, #4542:
URL: https://github.com/apache/cassandra/pull/4542

   https://issues.apache.org/jira/browse/CASSANDRA-17248 added prepared 
statement eviction logic because there was a change in prepared statements' 
behavior between 4.0.1 -> 4.0.2. However, the eviction logic introduces a race 
condition depicted in https://issues.apache.org/jira/browse/CASSANDRA-17401
   
   As per this 
[discussion](https://issues.apache.org/jira/browse/CASSANDRA-17401?focusedCommentId=18046549&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-18046549),
 we should keep the eviction logic in the 4.0 branch, but invoke only in a real 
corner case scenario.
   
   This PR will evict the statements only during the corner case scenario in 
which either of the prepared statement caches is empty, but not both.
   
   The [Cassandra Jira](https://issues.apache.org/jira/browse/CASSANDRA-17401)
   
   


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