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

(Updated April 15, 2015, 3:55 p.m.)


Review request for mesos and Alexander Rukletsov.


Summary (updated)
-----------------

Persisted the reservation state on the slave.


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


Repository: mesos


Description
-------

* Added `isDynamicReservation(resource)` which returns true if the resource is 
either a dynamic role reservation or a framework reservation.
* Added the `isDynamicReservation` condition onto `needCheckpointing`.
* Updated the `applyCheckpointedResources` to consider dynamic reservations.
* Added tests.


Diffs
-----

  include/mesos/resources.hpp 56affd45e1e71e96ff5778b43271f81b9b9a9e4d 
  src/common/resources.cpp 2c99b6884d7296099e19e2e3182cbe11b5e1e059 
  src/common/resources_utils.cpp fe04d57227fa193d6d11d2f76529c46aea74c6a1 
  src/tests/reservation_tests.cpp PRE-CREATION 

Diff: https://reviews.apache.org/r/32398/diff/


Testing
-------

make check


Thanks,

Michael Park

Reply via email to