cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-3540) Wrong check of partitioner for secondary indexes
Date Thu, 01 Dec 2011 16:46:40 GMT

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

Jonathan Ellis commented on CASSANDRA-3540:
-------------------------------------------

I'd also like to add a unit test (probably using clearUnsafe) to make sure we're exercising
the logic and triggering the original 3407 bug.
                
> Wrong check of partitioner for secondary indexes
> ------------------------------------------------
>
>                 Key: CASSANDRA-3540
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3540
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.4
>            Reporter: Sylvain Lebresne
>            Assignee: Yuki Morishita
>            Priority: Critical
>             Fix For: 1.0.6
>
>         Attachments: cassandra-1.0-3540.txt
>
>
> CASSANDRA-3407 doesn't handle the fact that secondary indexes have a specific partitioner
(LocalPartitioner). This result in the following error when starting nodes in 1.0.4:
> {noformat}
> java.lang.RuntimeException: Cannot open /var/lib/cassandra/data/Index/AttractionLocationCategoryDateIdx.AttractionLocationCategoryDateIdx_09partition_idx-h-1
because partitioner does not match org.apache.cassandra.dht.LocalPartitioner
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message