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

Jonathan Ellis updated CASSANDRA-1803:
--------------------------------------

    Attachment: 1803.txt

Adds QRH.available() method to allow this.

Also cleans up response/result duplication between QRH/IResponseResolver 
classes.

> fail fast in strongRead when insufficient replicas are available to satisfy 
> ConsistencyLevel
> --------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-1803
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1803
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 0.7.0
>
>         Attachments: 1803.txt
>
>
> Currently strongRead (the patch for ConsistencyLevel > 1) always sends out 
> requests to all live replicas, even if there are not enough  to satisfy the 
> ConsistencyLevel.  This is a violation of our contract w/ the client to throw 
> UnavailableException when we know ahead of time that the request cannot be 
> fulfilled.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to