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)