Michael Ho has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/9012 )

Change subject: IMPALA-2397: Use atomics for IntGauge and IntCounter
......................................................................


Patch Set 1:

(2 comments)

http://gerrit.cloudera.org:8080/#/c/9012/1/be/src/util/metrics.h
File be/src/util/metrics.h:

http://gerrit.cloudera.org:8080/#/c/9012/1/be/src/util/metrics.h@147
PS1, Line 147:   virtual void set_value(const T& value) = 0;
> What's the point of making it a virtual function if it doesn't need to be?
Done


http://gerrit.cloudera.org:8080/#/c/9012/1/common/thrift/metrics.json
File common/thrift/metrics.json:

http://gerrit.cloudera.org:8080/#/c/9012/1/common/thrift/metrics.json@886
PS1, Line 886:     "kind": "PROPERTY",
> I think SimpleProperty<double> implements all the functionality needed for
As discussed, renamed SimpleProperty to LockedMetrics and it's not confined to 
TMetricKind::PROPERTY. SimpleMetric is renamed to ScalarMetric.



--
To view, visit http://gerrit.cloudera.org:8080/9012
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I48dfa5443cd771916b53541a0ffeaf1bcc7e7606
Gerrit-Change-Number: 9012
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Ho <[email protected]>
Gerrit-Reviewer: Lars Volker <[email protected]>
Gerrit-Reviewer: Michael Ho <[email protected]>
Gerrit-Reviewer: Tim Armstrong <[email protected]>
Gerrit-Comment-Date: Thu, 18 Jan 2018 01:47:18 +0000
Gerrit-HasComments: Yes

Reply via email to