-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/65665/
-----------------------------------------------------------
(Updated May 24, 2018, 3:19 a.m.)
Review request for mesos, Benjamin Bannier, Greg Mann, Jie Yu, and Jan Schlicht.
Changes
-------
Switch-case on a non-constant to make the sanity check effective.
Bugs: MESOS-8383
https://issues.apache.org/jira/browse/MESOS-8383
Repository: mesos
Description
-------
This patch adds `operations_pending`, `operations_finished`,
`operations_failed`, and `operations_dropped` metrics to count the
occurances of these operation states.
Additionally, An error log in `_applyOperation()` is removed because the
error is already logged at the call site.
Diffs (updated)
-----
src/resource_provider/storage/provider.cpp
63b5d7e5f10d6ad02b5cd11b119def3b4abf4180
Diff: https://reviews.apache.org/r/65665/diff/11/
Changes: https://reviews.apache.org/r/65665/diff/10-11/
Testing
-------
sudo make check
A unit test is added in the next patch in chain.
Thanks,
Chun-Hung Hsiao