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

James Taylor updated PHOENIX-4239:
----------------------------------
    Attachment: PHOENIX-4239_v5.patch

Adding retry for transition from DISABLE -> INACTIVE or PENDING_ACTIVE -> 
ACTIVE as it seems that tables are sometimes not online on the first check.

[~rajeshbabu] - do you think it makes sense to check for index regions online 
only if the index table is in a DISABLE or PENDING_ACTIVE state (i.e. after a 
write failure when we haven't yet transitioned them)? Is that an expensive 
check to see if all regions are online?

> Fix flapping test in PartialIndexRebuilderIT
> --------------------------------------------
>
>                 Key: PHOENIX-4239
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4239
>             Project: Phoenix
>          Issue Type: Test
>            Reporter: James Taylor
>            Assignee: James Taylor
>             Fix For: 4.12.0
>
>         Attachments: PHOENIX-4239.patch, PHOENIX-4239_v2.patch, 
> PHOENIX-4239_v3.patch, PHOENIX-4239_v4.patch, PHOENIX-4239_v5.patch
>
>
> To get more info on this flapper: 
> https://www.google.com/url?q=https%3A%2F%2Fbuilds.apache.org%2Fjob%2FPhoenix-master%2F1810%2FtestReport%2Fjunit%2Forg.apache.phoenix.end2end.index%2FPartialIndexRebuilderIT%2FtestIndexWriteFailureLeavingIndexActive%2F&sa=D&sntz=1&usg=AFQjCNEj0LexiK8bm4GzGex9JUvu0DBJag



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

Reply via email to