You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2017/10/11 22:24:00 UTC

[jira] [Updated] (PHOENIX-4172) Retry index rebuild if time stamp of index changes while rebuilding

     [ https://issues.apache.org/jira/browse/PHOENIX-4172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Taylor updated PHOENIX-4172:
----------------------------------
    Labels: secondary_index  (was: )

> Retry index rebuild if time stamp of index changes while rebuilding
> -------------------------------------------------------------------
>
>                 Key: PHOENIX-4172
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4172
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: James Taylor
>            Assignee: James Taylor
>              Labels: secondary_index
>             Fix For: 4.12.0
>
>
> We currently base our decision to retry the index rebuild on the INDEX_DISABLE_TIMESTAMP changing. This works fine when we disable the index on a write failure, because the transition from DISABLE -> INACTIVE will fail and we'll try the rebuild again later. However, this is not the case when the index is left ACTIVE. As an additional safeguard, we should fail the rebuild and retry again in the next polling.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)