mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vinod Kone <vinodk...@gmail.com>
Subject Re: Review Request 46187: Terminate when receiving the ACK of terminal status update.
Date Thu, 14 Apr 2016 16:49:18 GMT

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




src/launcher/http_command_executor.cpp 
<https://reviews.apache.org/r/46187/#comment192356>

    Looking at slave::statusUpdate() code there are several scenarios where the slave ignores
a status update sent by the executor; this means this executor could end up not terminating
forever.
    
    Can you do the following:
    
    --> Enque a message in the queue to self terminate after some timeout (you can use
the delay() function) to be safe.
    
    --> Add a TODO that we do this to be safe and also because slave sometimes doesn't
ACK a status update. Link to a ticket that fixes the slave status update semantics to always
ACK a status update sent by an executor.
    
    sounds good?


- Vinod Kone


On April 14, 2016, 5:17 a.m., Qian Zhang wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/46187/
> -----------------------------------------------------------
> 
> (Updated April 14, 2016, 5:17 a.m.)
> 
> 
> Review request for mesos, Anand Mazumdar and Vinod Kone.
> 
> 
> Bugs: MESOS-3558
>     https://issues.apache.org/jira/browse/MESOS-3558
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Terminate when receiving the ACK of terminal status update.
> 
> 
> Diffs
> -----
> 
>   src/launcher/http_command_executor.cpp ad484e0e6f5067b6c166111c91b1ff1e8c05d9ac 
> 
> Diff: https://reviews.apache.org/r/46187/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Qian Zhang
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message