[ 
https://issues.apache.org/jira/browse/PHOENIX-5182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chinmay Kulkarni updated PHOENIX-5182:
--------------------------------------
    Description: The GlobalMetric interface has a getTotalSum API which is not 
of much value. The only implementation of this interface GlobalMetricImpl 
(which is not no-op) basically does a getValue for the metric when we call 
getTotalSum, which is confusing. We should deprecate it.  (was: The 
GlobalMetric interface has a getTotalSum API which is not of much value. The 
only implementation of this interface GlobalMetricImpl (which is not no-op) 
basically does a getValue for the metric when we call getTotalSum, which is 
confusing. Besides, this API has little value. We should deprecate it.)

> Deprecate getTotalSum API of the GlobalMetric interface
> -------------------------------------------------------
>
>                 Key: PHOENIX-5182
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5182
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: Chinmay Kulkarni
>            Assignee: Chinmay Kulkarni
>            Priority: Major
>             Fix For: 4.13.0, 4.14.0, 4.13.1, 5.0.0, 4.15.0, 4.14.1, 5.1.0
>
>
> The GlobalMetric interface has a getTotalSum API which is not of much value. 
> The only implementation of this interface GlobalMetricImpl (which is not 
> no-op) basically does a getValue for the metric when we call getTotalSum, 
> which is confusing. We should deprecate it.



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

Reply via email to