[ 
https://issues.apache.org/jira/browse/CASSANDRA-14735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benedict updated CASSANDRA-14735:
---------------------------------
    Status: Patch Available  (was: Open)

Patch available [here|https://github.com/belliottsmith/cassandra/tree/14735]

This patch begins by cleaning up {{ConsistencyLevel}} to remove (most of) the 
functionality that doesn't logically belong there:

* DC locality testing (to {{InOurDcTester}})
* Replica counting per DC and replication type (to {{Replicas}})
* Endpoint sufficiency testing / filtering to {{ReplicaPlans}}

The last commit makes the only functional changes, reworking the filtering code 
into separate {{candidatesForRead}} and {{contactForRead}} methods, as well as 
moving from {{HashMap<String, Integer>}} to {{ObjectIntOpenHashMap}} in the 
replica counting methods.

> LOCAL_QUORUM may speculate to non-local nodes, resulting in Timeout instead 
> of Unavailable
> ------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-14735
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14735
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Benedict
>            Assignee: Benedict
>            Priority: Minor
>             Fix For: 4.0.x
>
>
> This issue applies to all of: rapid read protection, read repair's rapid read 
> protection and read repair's rapid write protection.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to