You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Vinod Kone <vi...@gmail.com> on 2015/05/27 21:29:38 UTC

Review Request 34729: Updated slave to send total amount of oversubscribed resources.

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

Review request for mesos, Niklas Nielsen and Brian Wickman.


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


Repository: mesos


Description
-------

Per the latest design, the slave needs to send the total amount of oversubscribed resources (both allocated and available).

Also renamed the message to UpdateSlave to make it more generic (e.g., can be used in the future to update slave's total resources too).


Diffs
-----

  src/messages/messages.proto 39dac721fbe5b97842dd5d1d68cc135148ae02a2 
  src/slave/flags.hpp 6ca59dc9fc748ec738259406642ec17c0752590c 
  src/slave/flags.cpp a8c7c498d674ca832fa052412a373c9ace4b3fc3 
  src/slave/slave.hpp 0207eafa914e23e4c72b1e5c4fb43aae6c97049c 
  src/slave/slave.cpp b4d20294330f791e64a597c67b686aed9de84837 
  src/tests/oversubscription_tests.cpp 75c25b04c1e6a8e0e7e8fd55440743fe1699af88 

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


Testing
-------

make check

Will add a test in a subsequent review when a framework is able to launch a revocable task.


Thanks,

Vinod Kone