-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/71489/
-----------------------------------------------------------

Review request for mesos, Benjamin Mahler and Meng Zhu.


Bugs: MESOS-9123
    https://issues.apache.org/jira/browse/MESOS-9123


Repository: mesos


Description
-------

This patch factor out the common code for updating quota guarantee
and quota limit metrics, and replaces pairs of
`process::metrics::remove()`/`process::metrics::add()` called for the
same metric with calling `PushGauge::operator = ()`. This is
a perequisite for adding PushGauge-based quota consumption metrics.


Diffs
-----

  src/master/allocator/mesos/metrics.hpp 
adb9515c82029f32e57e73cddd441c1bceec1aee 
  src/master/allocator/mesos/metrics.cpp 
ba95dc4415e3f85522f5d1291b6e9c171b900482 


Diff: https://reviews.apache.org/r/71489/diff/1/


Testing
-------


Thanks,

Andrei Sekretenko

Reply via email to