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

Vincent Poon commented on PHOENIX-5218:
---------------------------------------

[~mihir6692] To simulate a write failure we usually inject a RegionObserver 
with a flag.  See MutableIndexFailureIT

> 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: Mihir Monani
>            Assignee: Mihir Monani
>            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)

Reply via email to