You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Joe McDonnell (Jira)" <ji...@apache.org> on 2025/04/30 17:44:00 UTC

[jira] [Created] (IMPALA-14021) AtomicMetric / IntGauge should have a Decrement() function

Joe McDonnell created IMPALA-14021:
--------------------------------------

             Summary: AtomicMetric / IntGauge should have a Decrement() function
                 Key: IMPALA-14021
                 URL: https://issues.apache.org/jira/browse/IMPALA-14021
             Project: IMPALA
          Issue Type: Task
          Components: Backend
    Affects Versions: Impala 5.0.0
            Reporter: Joe McDonnell


On AtomicMetric (which underlies IntGauge), there is an Increment() function that can accept negative values. For gauges, there are many locations where we want to decrement values and call Increment(-X). It would be clearer to have a Decrement(X) function that simply calls Increment(-X).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org