You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "Geoffrey Jacoby (Jira)" <ji...@apache.org> on 2019/10/04 21:51:00 UTC
[jira] [Commented] (PHOENIX-5509) ALTER INDEX REBUILD removes all
rows from already valid/consistent view index
[ 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)