cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-2627) Don't allow {LOCAL|EACH}_QUORUM unless strategy is NTS
Date Mon, 09 May 2011 15:15:19 GMT

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

Sylvain Lebresne resolved CASSANDRA-2627.
-----------------------------------------

    Resolution: Fixed

Committed

> 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

Mime
View raw message