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

Geoffrey Jacoby commented on PHOENIX-4519:
------------------------------------------

OK, looked further and it appears that Phoenix expects that a REBUILD state 
will never be persisted to System.Catalog. Further down, the MetadataClient 
sets the async timestamp if the alter statement has the async flag and the 
state is BUILDING. I'll tweak the patch and test accordingly. 

> Index rebuild MR jobs not created for "alter index rebuild async" rebuilds
> --------------------------------------------------------------------------
>
>                 Key: PHOENIX-4519
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4519
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Vincent Poon
>            Assignee: Geoffrey Jacoby
>            Priority: Major
>         Attachments: PHOENIX-4519-v2.patch, PHOENIX-4519.patch
>
>
> It seems we have two ASYNC flags for index rebuilds:
> ASYNC_CREATED_DATE - when an index is created async
> ASYNC_REBUILD_TIMESTAMP - created by "alter index ... rebuild async"
> The PhoenixMRJobSubmitter only submits MR jobs for the former.  We should 
> also submit jobs for the latter.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to