You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Benedict (JIRA)" <ji...@apache.org> on 2018/09/20 09:50:00 UTC
[jira] [Updated] (CASSANDRA-14735) LOCAL_QUORUM may speculate to
non-local nodes, resulting in Timeout instead of Unavailable
[ 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: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org