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

Sylvain Lebresne updated CASSANDRA-2627:
----------------------------------------

    Fix Version/s: 0.8.0
                   0.7.6

> 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