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


We should probably follow up with a test which verifies that the sums are 
correct


src/messages/messages.proto
<https://reviews.apache.org/r/34729/#comment137043>

    Would it make sense to send them independently, to distinguish between the 
two later on?



src/slave/slave.cpp
<https://reviews.apache.org/r/34729/#comment137044>

    What does 'pending on the slave' mean here?


- Niklas Nielsen


On May 27, 2015, 4:11 p.m., Vinod Kone wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/34729/
> -----------------------------------------------------------
> 
> (Updated May 27, 2015, 4:11 p.m.)
> 
> 
> Review request for mesos, Jie Yu, 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
> 
>

Reply via email to