James Taylor created PHOENIX-4543:
-------------------------------------

             Summary: Ensure that MR partial index rebuilder handles the case 
when an index is left active during the rebuild
                 Key: PHOENIX-4543
                 URL: https://issues.apache.org/jira/browse/PHOENIX-4543
             Project: Phoenix
          Issue Type: Bug
            Reporter: James Taylor


We have an option used by the online partial index rebuilder 
(MetaDataRegionObserver,BuildIndexScheduleTask) to keep an index active when a 
write failure occurs, based on the htable property of 
DISABLE_INDEX_ON_WRITE_FAILURE and falling back to the 
{{QueryServices.INDEX_FAILURE_DISABLE_INDEX}} config property. Also, there's an 
orthogonal option that controls if the partial index is done at all: 
{{QueryServices.INDEX_FAILURE_HANDLING_REBUILD_ATTRIB}} turns this off globally 
and the htable property {{REBUILD_INDEX_ON_WRITE_FAILURE}} turns it off on a 
per table basis.

We should support the same options in the MR partial index rebuilder



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to