cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Inconsistent results using secondary indexes between two DC
Date Mon, 23 May 2011 15:01:07 GMT
On Mon, May 23, 2011 at 5:47 AM, Wojciech Pietrzok <kosciak1@gmail.com> wrote:
> It was installed as 0.7.2 and upgraded with each new official release.

I bet that's the problem, then.
https://issues.apache.org/jira/browse/CASSANDRA-2244 could cause
indexes to not be updated for releases < 0.7.4.  You'll want to
rebuild the index.

> By the way - is it possible to force the rebuild of the secondary
> indexes from scratch?

Yes, just remove the index definition from the column_metadata, then
re-add it.  (0.7.7 adds DROP INDEX to the cli.)

-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com

Mime
View raw message