----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/58072/ -----------------------------------------------------------
(Updated April 5, 2017, 11:24 a.m.) Review request for mesos, Benjamin Bannier and Jie Yu. Changes ------- Removed "WIP", addressed issues. Summary (updated) ----------------- Added resource support for new offer operations. Repository: mesos Description (updated) ------- 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 (updated) ----- 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/ Changes: https://reviews.apache.org/r/58072/diff/6-7/ Testing ------- make check Thanks, Jan Schlicht