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

Geoffrey Jacoby commented on PHOENIX-5666:
------------------------------------------

+1, good catch. 

> IndexRegionObserver incorrectly updates PostIndexUpdateFailure metric
> ---------------------------------------------------------------------
>
>                 Key: PHOENIX-5666
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5666
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 5.0.0, 4.14.3
>            Reporter: Kadir OZDEMIR
>            Assignee: Kadir OZDEMIR
>            Priority: Major
>         Attachments: PHOENIX-5666.master.001.patch
>
>
> When there is no post index (phase 3) updates (for tables with no indexes or 
> during index rebuild), the list for index updates is not initialized by 
> IndexRegionObserver. This causes a null pointer exception and this exception 
> is caught and ignored since phase3 write failures are in general ignored. 
> However, this leads to updating the PostIndexUpdateFailure metric incorrectly.



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

Reply via email to