> On April 10, 2014, 6:58 p.m., Benjamin Hindman wrote:
> > src/slave/slave.cpp, line 3116
> > <https://reviews.apache.org/r/20221/diff/1/?file=554484#file554484line3116>
> >
> >     Can we add a comment that captures the invariant that 'state.info' is 
> > Some here? Perhaps Vinod can suggest something here?

+1. I needed some time to convince myself that this works.

The current invariant is that "ExecutorInfo is checkpointed before the run 
state."


- Vinod


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


On April 10, 2014, 5:02 p.m., Niklas Nielsen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/20221/
> -----------------------------------------------------------
> 
> (Updated April 10, 2014, 5:02 p.m.)
> 
> 
> Review request for mesos, Ian Downes and Vinod Kone.
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> This patch let executor recovery recover runs in the absence of
> executor info.  This is needed as new task-info patch will introduce
> an intermediate state where the executor info hasn't been check
> pointed. In this interim, the slave may fail-over and should be in a
> position to clean up orphan containers (as for now, the containerizer
> API doesn't provide a way to reconcile the executor info and it is
> therefore not possible to recover the containers in this case).
> 
> 
> Diffs
> -----
> 
>   src/slave/slave.cpp cddb241 
>   src/slave/state.cpp 21d1fb7 
> 
> Diff: https://reviews.apache.org/r/20221/diff/
> 
> 
> Testing
> -------
> 
> make check and tested with task-info patch and new launch test.
> 
> 
> Thanks,
> 
> Niklas Nielsen
> 
>

Reply via email to