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



Maybe it's better for getTasks() to have it's own independation implementation 
instead of depending on the factored out `_tasks()`. getAgents() and 
getFrameworks() have their own implementations anyway. We can also revert the 
`_tasks()` split. We need to add comments for why we have own independent 
implementations for getTasks(), getAgents() and getFrameworks() for posterity.

What do you think?

- Vinod Kone


On June 28, 2016, 7:23 a.m., Jay Guo wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/49297/
> -----------------------------------------------------------
> 
> (Updated June 28, 2016, 7:23 a.m.)
> 
> 
> Review request for mesos, Anand Mazumdar and Vinod Kone.
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Use defer() to garantee getTasks lambda execution context.
> 
> 
> Diffs
> -----
> 
>   src/master/http.cpp d583bbeb186974135999eaddbab96e69635dcc7c 
> 
> Diff: https://reviews.apache.org/r/49297/diff/
> 
> 
> Testing
> -------
> 
> WIP
> 
> make check
> 
> Still need to figure out how to handle invalid task*
> 
> 
> Thanks,
> 
> Jay Guo
> 
>

Reply via email to