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

Hudson commented on CASSANDRA-2627:
-----------------------------------

Integrated in Cassandra-0.7 #475 (See 
[https://builds.apache.org/hudson/job/Cassandra-0.7/475/])
    Don't allow {LOCAL|EACH}_QUORUM unless strategy is NTS
patch by slebresne; reviewed by jbellis for CASSANDRA-2627


> Don't allow {LOCAL|EACH}_QUORUM unless strategy is NTS
> ------------------------------------------------------
>
>                 Key: CASSANDRA-2627
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2627
>             Project: Cassandra
>          Issue Type: Bug
>          Components: API
>    Affects Versions: 0.7.0
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>            Priority: Trivial
>             Fix For: 0.7.6, 0.8.0
>
>         Attachments: 0001-validate-CL-compatible-with-strategy.patch
>
>
> There is not check when {LOCAL|EACH}_QUORUM is used than we do use NTS, hence 
> using such CL with simpleStrategy for instance result in
> {noformat}
> ERROR [pool-1-thread-1] 2011-05-09 10:44:29,728 Cassandra.java (line 2960) 
> Internal error processing insert
> java.lang.ClassCastException: org.apache.cassandra.locator.SimpleStrategy 
> cannot be cast to org.apache.cassandra.locator.NetworkTopologyStrategy
> ...
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to