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

Ship it!



src/master/master.cpp
<https://reviews.apache.org/r/28812/#comment107549>

    I think your comments are fine. The missleading part is the function 
"recoverResources". It actually performs two things:
    1) put resources back to slave.avalable so that those resources can be 
allocated to others
    2) update sorters so that frameworks/roles no longer get charged for those 
resources
    
    To me, (1) is the "recover" part. The fact that you wanna call 
"recoverResources" below in this function is actually for (2).


- Jie Yu


On Dec. 11, 2014, 1:45 a.m., Ben Mahler wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/28812/
> -----------------------------------------------------------
> 
> (Updated Dec. 11, 2014, 1:45 a.m.)
> 
> 
> Review request for mesos and Jie Yu.
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> The existing comment is not accurate, given MESOS-621.
> 
> 
> Diffs
> -----
> 
>   src/master/master.cpp 1cf2074b78e260bcccf96f4383bc4747b1e75063 
> 
> Diff: https://reviews.apache.org/r/28812/diff/
> 
> 
> Testing
> -------
> 
> N/A
> 
> 
> Thanks,
> 
> Ben Mahler
> 
>

Reply via email to