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

Review request for mesos, Benjamin Mahler, Kapil Arya, and Till Toenshoff.


Repository: mesos


Description
-------

Currently `createStrippedScalarQuantity()` strips resource meta-data
except revocable and turns dynamic reservation into static reservation.
However, no current code depends on this behavior and this leads to
boilerplate code around call sites and performance overhead.

This patch further clears the above meta-data for simplicity
and performance.


Diffs
-----

  include/mesos/resources.hpp 7afe0d8090a5075faed22bd408310ae1bb464bce 
  include/mesos/v1/resources.hpp c7120575d0dbfb9f8c9bb6b0cf9a4cea3d9f6932 
  src/common/resources.cpp b1392012702865e39d17b8715747582529cbccca 
  src/master/allocator/mesos/hierarchical.cpp 
b558228290e5ae6dbcc1b8a6e1fe69db9fd5874c 
  src/tests/resources_tests.cpp 2da583615ac8a8fb238f4996fe661343b718bad1 
  src/tests/sorter_tests.cpp 9cdffd778967bca3d0055be8a04fbb702432e59d 
  src/v1/resources.cpp 50793271ea9b3013aa5b4dcd95f329db81dff4d8 


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


Testing
-------

make check


Thanks,

Meng Zhu

Reply via email to