incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wojciech Pietrzok <kosci...@gmail.com>
Subject Re: Inconsistent results using secondary indexes between two DC
Date Wed, 25 May 2011 17:22:42 GMT
2011/5/23 Jonathan Ellis <jbellis@gmail.com>:
>> 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.)

Thanks a lot! After dropping an index and creating index on a column
once again queries using secondary indexes work as expected now.


-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 KosciaK     mail: kosciak1@gmail.com
                   www : http://kosciak.net/
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Mime
View raw message