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

(Updated April 5, 2017, 11:26 a.m.)


Review request for mesos, Benjamin Bannier and Jie Yu.


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


Repository: mesos


Description
-------

When applying offer operations to resources, one has to account for
changing resources depending on the operation. For resource-related
operations, disk resources will be converted from a type to another.
So, by applying such an operation, we will substract the resource
of the source type and add the resource of the target type of that
operation.


Diffs
-----

  src/common/resources.cpp c26e0f995006dc6b2e70a491cea58fa90347e42a 
  src/tests/resources_tests.cpp 343cab2af225a05e32c5a8bd4a5d9ddfbf76536d 
  src/v1/resources.cpp a53deafbea399a1bcf729d1c151bc46e9da04e11 


Diff: https://reviews.apache.org/r/58072/diff/7/


Testing
-------

make check


Thanks,

Jan Schlicht

Reply via email to