[ https://issues.apache.org/jira/browse/CASSANDRA-3540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yuki Morishita updated CASSANDRA-3540: -------------------------------------- Attachment: cassandra-1.0-3540-v2.txt Updated patch to give partitioner an arg to Collector#finalizeMetadata(). I also added test to SSTableReaderTest which fails when run against current 1.0 branch and succeeds after this patch. > 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-v2.txt, 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