cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "T Jake Luciani (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CASSANDRA-1803) fail fast in strongRead when insufficient replicas are available to satisfy ConsistencyLevel
Date Fri, 03 Dec 2010 18:20:11 GMT

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

T Jake Luciani updated CASSANDRA-1803:
--------------------------------------

    Attachment: 1803_v2.txt

Renamed QRH.available() to .assureSufficientLiveNodes() throws UnavailableException to match
corresponding WriteResponseHandler call...

Added Unit tests to verify consistency check for QRH and WRH.

+1

> 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, 1803_v2.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.


Mime
View raw message