cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joaquin Casares (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-6545) LOCAL_QUORUM still doesn't work with SimpleStrategy but don't throw a meaningful error message anymore
Date Mon, 06 Jan 2014 22:53:52 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-6545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13863575#comment-13863575
] 

Joaquin Casares commented on CASSANDRA-6545:
--------------------------------------------

I'm also sometimes seeing this in 2.0.4 while testing the java-driver. If I try and rerun
the test that fails by itself it will pass.

> LOCAL_QUORUM still doesn't work with SimpleStrategy but don't throw a meaningful error
message anymore
> ------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-6545
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6545
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Sylvain Lebresne
>            Assignee: Alex Liu
>             Fix For: 1.2.14
>
>         Attachments: 6545-1.2-branch.txt, 6545-2.0-branch.txt
>
>
> It seems it was the intent of CASSANDRA-6238 originally, though I've tracked to the commit
of CASSANDRA-6309 (f7efaffadace3e344eeb4a1384fa72c73d8422b0 to be precise) but in any case,
ConsistencyLevel.validateForWrite does not reject LOCAL_QUORUM when SimpleStrategy is used
anymore, yet ConsistencyLevel.blockFor definitively cast the strategy to NTS for LOCAL_QUORUM
(in localQuorumFor() to be precise). Which results in a ClassCastException as reported by
https://datastax-oss.atlassian.net/browse/JAVA-241.
> Note that while we're at it, I tend to agree with Aleksey comment on CASSANDRA-6238,
why not make EACH_QUORUM == QUORUM for SimpleStrategy too?



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message