You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "T Jake Luciani (JIRA)" <ji...@apache.org> on 2016/01/25 16:08:39 UTC

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

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

T Jake Luciani commented on CASSANDRA-11046:
--------------------------------------------

[~beobal] makes sense to me, can you post test run links?

> 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
>             Fix For: 3.0.x, 3.x
>
>
> 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)