You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by Ben Mahler <be...@gmail.com> on 2014/11/20 01:24:08 UTC

Review Request 28267: Updated killTask to perform reconciliation for unknown tasks.

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

Review request for mesos and Vinod Kone.


Bugs: MESOS-2127
    https://issues.apache.org/jira/browse/MESOS-2127


Repository: mesos-git


Description
-------

Per MESOS-2127:

Currently, killTask uses its own reconciliation logic, which has diverged from the reconcileTasks logic. Specifically, when the task is unknown and a non-strict registry is in use, killTask will not send TASK_LOST whereas reconcileTask will.

We should make these consistent.


Diffs
-----

  src/master/master.cpp de42f8eb7c3c4ed64fb7fea9f4977e276f4a9043 
  src/tests/reconciliation_tests.cpp 4ba53940951584d9baa2c7aa4e124814471206bc 

Diff: https://reviews.apache.org/r/28267/diff/


Testing
-------

Added a test and ran all the reconciliation tests in repetition.


Thanks,

Ben Mahler


Re: Review Request 28267: Updated killTask to perform reconciliation for unknown tasks.

Posted by Mesos ReviewBot <de...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/28267/#review62332
-----------------------------------------------------------


Patch looks great!

Reviews applied: [28265, 28266, 28267]

All tests passed.

- Mesos ReviewBot


On Nov. 20, 2014, 12:24 a.m., Ben Mahler wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/28267/
> -----------------------------------------------------------
> 
> (Updated Nov. 20, 2014, 12:24 a.m.)
> 
> 
> Review request for mesos and Vinod Kone.
> 
> 
> Bugs: MESOS-2127
>     https://issues.apache.org/jira/browse/MESOS-2127
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> Per MESOS-2127:
> 
> Currently, killTask uses its own reconciliation logic, which has diverged from the reconcileTasks logic. Specifically, when the task is unknown and a non-strict registry is in use, killTask will not send TASK_LOST whereas reconcileTask will.
> 
> We should make these consistent.
> 
> 
> Diffs
> -----
> 
>   src/master/master.cpp de42f8eb7c3c4ed64fb7fea9f4977e276f4a9043 
>   src/tests/reconciliation_tests.cpp 4ba53940951584d9baa2c7aa4e124814471206bc 
> 
> Diff: https://reviews.apache.org/r/28267/diff/
> 
> 
> Testing
> -------
> 
> Added a test and ran all the reconciliation tests in repetition.
> 
> 
> Thanks,
> 
> Ben Mahler
> 
>


Re: Review Request 28267: Updated killTask to perform reconciliation for unknown tasks.

Posted by Vinod Kone <vi...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/28267/#review62398
-----------------------------------------------------------

Ship it!


Ship It!

- Vinod Kone


On Nov. 20, 2014, 12:24 a.m., Ben Mahler wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/28267/
> -----------------------------------------------------------
> 
> (Updated Nov. 20, 2014, 12:24 a.m.)
> 
> 
> Review request for mesos and Vinod Kone.
> 
> 
> Bugs: MESOS-2127
>     https://issues.apache.org/jira/browse/MESOS-2127
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> Per MESOS-2127:
> 
> Currently, killTask uses its own reconciliation logic, which has diverged from the reconcileTasks logic. Specifically, when the task is unknown and a non-strict registry is in use, killTask will not send TASK_LOST whereas reconcileTask will.
> 
> We should make these consistent.
> 
> 
> Diffs
> -----
> 
>   src/master/master.cpp de42f8eb7c3c4ed64fb7fea9f4977e276f4a9043 
>   src/tests/reconciliation_tests.cpp 4ba53940951584d9baa2c7aa4e124814471206bc 
> 
> Diff: https://reviews.apache.org/r/28267/diff/
> 
> 
> Testing
> -------
> 
> Added a test and ran all the reconciliation tests in repetition.
> 
> 
> Thanks,
> 
> Ben Mahler
> 
>