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

Tanuj Khurana commented on PHOENIX-5723:
----------------------------------------

I am not aware if you can determine in the cleanup() method that all the 
reducers passed without introducing new state. 

> PhoenixIndexImportDirectReducer cleanup method updates index state to active
> ----------------------------------------------------------------------------
>
>                 Key: PHOENIX-5723
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5723
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Tanuj Khurana
>            Assignee: Tanuj Khurana
>            Priority: Minor
>
> The cleanup() method on PhoenixIndexImportDirectReducer updates the index 
> state to active. The cleanup() method is called even if the reduce() method 
> throws an exception. We need to move the index update to reduce() method.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to