You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2010/12/02 00:00:15 UTC

[jira] Updated: (CASSANDRA-1803) fail fast in strongRead when insufficient replicas are available to satisfy ConsistencyLevel

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