You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Karl Mueller (JIRA)" <ji...@apache.org> on 2014/01/03 23:26:50 UTC
[jira] [Commented] (CASSANDRA-6545) LOCAL_QUORUM still doesn't work
with SimpleStrategy but don't throw a meaningful error message anymore
[ https://issues.apache.org/jira/browse/CASSANDRA-6545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13861961#comment-13861961 ]
Karl Mueller commented on CASSANDRA-6545:
-----------------------------------------
We were also bit by this in my duplicate issue 6549
> 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
>
>
> 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)