You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Kadir OZDEMIR (Jira)" <ji...@apache.org> on 2020/01/08 04:19:00 UTC

[jira] [Created] (PHOENIX-5666) IndexRegionObserver incorrectly updates PostIndexUpdateFailure metric

Kadir OZDEMIR created PHOENIX-5666:
--------------------------------------

             Summary: IndexRegionObserver incorrectly updates PostIndexUpdateFailure metric
                 Key: PHOENIX-5666
                 URL: https://issues.apache.org/jira/browse/PHOENIX-5666
             Project: Phoenix
          Issue Type: Bug
    Affects Versions: 4.14.3, 5.0.0
            Reporter: Kadir OZDEMIR
            Assignee: Kadir OZDEMIR


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)