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

Geoffrey Jacoby commented on PHOENIX-5509:
------------------------------------------

A potential solution suggested by [~kadir] is conceptually simple, but 
complicated to implement: either drop the previous view index and recreate it 
as a new view index, or update the view index id of the existing view index so 
that the rebuilt data is a completely different series of rows. 

Either one will require significant changes to MetaDataClient / 
MetaDataEndpoint (we need either a "cloneViewIndex" method or an 
"updateViewIndexId" method similar to updateIndexState. 

> ALTER INDEX REBUILD removes all rows from already valid/consistent view index
> -----------------------------------------------------------------------------
>
>                 Key: PHOENIX-5509
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5509
>             Project: Phoenix
>          Issue Type: Sub-task
>            Reporter: Geoffrey Jacoby
>            Assignee: Geoffrey Jacoby
>            Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to