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

Ship it!



src/master/allocator.hpp
<https://reviews.apache.org/r/14435/#comment51826>

    s/checkpointing//
    
    I think the allocator doesn't need to know about the slaves checkpointing.



src/master/allocator.hpp
<https://reviews.apache.org/r/14435/#comment51827>

    s/checkpointing//



src/master/master.cpp
<https://reviews.apache.org/r/14435/#comment51828>

    Should we do this after reconcile() call below so that superflous resources 
are not offered by the allocator?


- Vinod Kone


On Oct. 2, 2013, 12:25 a.m., Ben Mahler wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/14435/
> -----------------------------------------------------------
> 
> (Updated Oct. 2, 2013, 12:25 a.m.)
> 
> 
> Review request for mesos, Benjamin Hindman, Thomas Marshall, and Vinod Kone.
> 
> 
> Bugs: MESOS-711
>     https://issues.apache.org/jira/browse/MESOS-711
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> This adds the following two calls to the Allocator:
>   slaveDisconnected(SlaveID)
>   slaveReconnected(SlaveID)
> 
> Which allows the allocator to maintain Slave state when checkpointing slaves 
> disconnect. This is in contrast to the existing code which completely removes 
> disconnected checkpointing slaves from the allocator and re-adds them upon 
> reconnection. However, this is complex to get correct, and ultimately had 
> bugs: MESOS-711.
> 
> I've included a test in the subsequent change in this chain.
> 
> 
> Diffs
> -----
> 
>   src/master/allocator.hpp 46a7370d589d939ca64d645879a09221b8491569 
>   src/master/hierarchical_allocator_process.hpp 
> 183b205663e82aa53bb3898cac0b1be10b9a4f3f 
>   src/master/master.cpp a49b17ef43fca5b385a89731ca8776a26b61399a 
>   src/tests/mesos.hpp 8fbd56c8dd438a08673b54630bfe25d60ad5ee0e 
> 
> Diff: https://reviews.apache.org/r/14435/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> Added a test in the subsequent review.
> 
> 
> Thanks,
> 
> Ben Mahler
> 
>

Reply via email to