[
https://issues.apache.org/jira/browse/PHOENIX-5218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16805428#comment-16805428
]
Geoffrey Jacoby commented on PHOENIX-5218:
------------------------------------------
[~mihir6692] - Perhaps you could use HBaseAdmin to disable the table or
unassign the region? Actually, if you look at the implementation of
BaseTest.unassignRegionAsync, the code block in the Runnable is likely what you
want. Could abstract that out to a synchronous method.
> When INDEX_FAILURE_HANDLING_REBUILD_PERIOD is set, Phoenix Client can still
> transition Index from INACTIVE to ACTIVE
> --------------------------------------------------------------------------------------------------------------------
>
> Key: PHOENIX-5218
> URL: https://issues.apache.org/jira/browse/PHOENIX-5218
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 4.15.0, 4.14.1, 5.1.0
> Reporter: Monani Mihir
> Assignee: Monani Mihir
> Priority: Critical
> Attachments: PHOENIX-5218-4.x-HBase-1.3.01.patch,
> PHOENIX-5218-4.x-HBase-1.3.02.patch
>
>
> With PHOENIX-5094, we were handling index transition from INACTIVE to ACTIVE
> state
> While debugging test cases failures for PHOENIX-5194 for
> PartialIndexRebuilderIT, two test cases 1)
> testIndexWriteFailureDisablingIndex 2)
> testIndexWriteFailureLeavingIndexActive fails.
> For this IT, INDEX_FAILURE_HANDLING_REBUILD_PERIOD is set to 50sec and in
> above mentioned test cases round robin Partial Index rebuilder is being used
> instead of building entire index from INDEX_DISABLE_TIMESTAMP.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)