You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sam Tunnicliffe (JIRA)" <ji...@apache.org> on 2016/01/20 13:59:39 UTC

[jira] [Created] (CASSANDRA-11046) Existing indexes are always rebuilt on upgrade to 3.0

Sam Tunnicliffe created CASSANDRA-11046:
-------------------------------------------

             Summary: Existing indexes are always rebuilt on upgrade to 3.0
                 Key: CASSANDRA-11046
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11046
             Project: Cassandra
          Issue Type: Bug
          Components: Distributed Metadata
            Reporter: Sam Tunnicliffe
            Assignee: Sam Tunnicliffe
            Priority: Critical


CASSANDRA-10127 made the naming of secondary indexes consistent internally. Previously some places used just the index name, whilst others required the name in the format {{table.index}}. 

One place including the additional table name was the {{system.IndexInfo}} table, which records whether or not the index has been built. On upgrade to 3.0, as the node restarts and initialises and index, it checks this table to determine whether an initial build task is necessary. Since 10127, this check expects the row to include just the index name, but the actual row will still be in the old {{table.index}} format, causing the index manager to assume the index is not built and submit a build task. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)