You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Karan Mehta (JIRA)" <ji...@apache.org> on 2018/08/17 23:26:00 UTC

[jira] [Created] (PHOENIX-4854) Make LoggingPhoenixResultSet idempotent when logging metrics

Karan Mehta created PHOENIX-4854:
------------------------------------

             Summary: Make LoggingPhoenixResultSet idempotent when logging metrics
                 Key: PHOENIX-4854
                 URL: https://issues.apache.org/jira/browse/PHOENIX-4854
             Project: Phoenix
          Issue Type: Improvement
            Reporter: Karan Mehta
            Assignee: Karan Mehta


ResultSet close method can be called multiple times and LoggingResultSet object tries to call PhoenixMetricsLog methods every single time. These per query metrics don't get cleared up, rather they are all at "0" value once they are consumed and reset. This Jira is an enhancement to bring the idempotency in the class.



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