Hi all, So after some discussions on the previous draft for restartable tasks and considering other feature requests such as to allow frameworks to customize the behavior when tasks in a task group terminate, we incorporated these features into one OnTerminationPolicy concept, which governs the executor's handling of task termination and the agent's handling of executor termination.
Here is new doc: https://docs.google.com/document/d/1VxfoZ-DzMHnKY0gzoccHEhx1rvdC2-RATJfJUfiAwGY/edit?usp=sharing Feedback welcome! Yan --- @xujyan <https://twitter.com/xujyan> On Tue, Nov 29, 2016 at 8:47 AM, Megha Sharma <mshar...@apple.com> wrote: > Hi All, > > Thanks for your feedback on the design, here’s the revised design for > Restartable Tasks. > > https://docs.google.com/document/d/1epYCznSjevbiA776Yr72xx365IGEz > KRnoLnXBorm0J0/edit?usp=sharing > > Based on the feedback we have had on the old design and discussion with a > bunch of committers, we have added the restart by executor and taskgroup > restart to the design. Looking forward to your comments/feedback. > > Many Thanks > Megha Sharma > > On Oct 26, 2016, at 6:23 PM, Benjamin Mahler <bmah...@apache.org> wrote: > > Thanks for publishing this! Saw some tickets being created and was > wondering where this email was.. :) > > The higher level thing that strikes me is that I think the notion of a > task restart policy should be managed by the executor (i.e. the executor > restarts the task based on the policy). This is aligned with how the > existing kill and health check policies work. This project seems to be > something more along the lines of a restartable executor, alongside a > change to perform agent recovery across reboot? > > Since this project is pretty complicated, it would be prudent to gather > some committers to provide feedback and we can publish our notes to the > lists. > > Ben > > On Wed, Oct 26, 2016 at 5:13 PM, Megha Sharma <mshar...@apple.com> wrote: > >> Hi All, >> >> We have been working on the design to allow tasks which need to be >> restarted on the agent post its restart. Looking forward to your >> comments/feedback. >> >> Design Doc: >> https://docs.google.com/document/d/1YS_EBUNLkzpSru0dwn_hPUIe >> TATiWckSaosXSIaHUCo/edit#heading=h.tlevdyt3yv0a >> >> JIRA: >> https://issues.apache.org/jira/browse/MESOS-3545 >> >> Many Thanks >> Megha Sharma >> >> >> >> >> > >