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/09/06 01:55:00 UTC
[jira] [Updated] (PHOENIX-4162) Disallow transition from DISABLE to
INACTIVE when INDEX_DISABLE_TIMESTAMP is zero
[ https://issues.apache.org/jira/browse/PHOENIX-4162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Taylor updated PHOENIX-4162:
----------------------------------
Attachment: PHOENIX-4162.patch
I'm hoping this fixes the flappiness of PartialIndexRebuilderIT.testCompactionDuringRebuild(). It's also a pretty serious bug - don't want the index to transition out of a DISABLE state when the INDEX_DISABLE_TIMESTAMP is 0. This will prevent that as a race condition. Please review, [~samarthjain].
> Disallow transition from DISABLE to INACTIVE when INDEX_DISABLE_TIMESTAMP is zero
> ---------------------------------------------------------------------------------
>
> Key: PHOENIX-4162
> URL: https://issues.apache.org/jira/browse/PHOENIX-4162
> Project: Phoenix
> Issue Type: Bug
> Reporter: James Taylor
> Assignee: James Taylor
> Fix For: 4.12.0
>
> Attachments: PHOENIX-4162.patch
>
>
> When the index state is DISABLE and the INDEX_DISABLE_TIMESTAMP is zero, we should not allow the index to be set back to an INACTIVE state. The only allowed transition is back to a building state as the index needs to be rebuild from scratch at this point.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)