phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Taylor (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PHOENIX-4162) Disallow transition from DISABLE to INACTIVE when INDEX_DISABLE_TIMESTAMP is zero
Date Wed, 06 Sep 2017 01:55:00 GMT

     [ 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)

Mime
View raw message