You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Jiang Yan Xu <ya...@jxu.me> on 2017/06/23 21:34:12 UTC
Review Request 60400: (WIP) Skipped consulting registry if the agent
is in the `slaves.recovered`.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/60400/
-----------------------------------------------------------
Review request for mesos and Neil Conway.
Repository: mesos
Description
-------
Skipped consulting registry if the agent is in the `slaves.recovered`.
Diffs
-----
src/master/master.cpp 33eca0d17459781fdc2ea915e8f40c78dd306962
Diff: https://reviews.apache.org/r/60400/diff/1/
Testing
-------
Thanks,
Jiang Yan Xu
Re: Review Request 60400: (WIP) Skipped consulting registry if the
agent is in the `slaves.recovered`.
Posted by Mesos Reviewbot Windows <re...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/60400/#review178817
-----------------------------------------------------------
Patch looks great!
Reviews applied: [60400]
Passed command: support\windows-build.bat
- Mesos Reviewbot Windows
On June 23, 2017, 9:34 p.m., Jiang Yan Xu wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/60400/
> -----------------------------------------------------------
>
> (Updated June 23, 2017, 9:34 p.m.)
>
>
> Review request for mesos and Neil Conway.
>
>
> Bugs: MESOS-7711
> https://issues.apache.org/jira/browse/MESOS-7711
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Skipped consulting registry if the agent is in the `slaves.recovered`.
>
>
> Diffs
> -----
>
> src/master/master.cpp 33eca0d17459781fdc2ea915e8f40c78dd306962
>
>
> Diff: https://reviews.apache.org/r/60400/diff/1/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Jiang Yan Xu
>
>
Re: Review Request 60400: Skipped consulting registry if the agent is
in the `slaves.recovered`.
Posted by Mesos Reviewbot Windows <re...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/60400/#review180643
-----------------------------------------------------------
Patch looks great!
Reviews applied: [60854, 60400]
Passed command: support\windows-build.bat
- Mesos Reviewbot Windows
On July 13, 2017, 11:01 p.m., Jiang Yan Xu wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/60400/
> -----------------------------------------------------------
>
> (Updated July 13, 2017, 11:01 p.m.)
>
>
> Review request for mesos, Benjamin Mahler, James Peach, and Neil Conway.
>
>
> Bugs: MESOS-7711
> https://issues.apache.org/jira/browse/MESOS-7711
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Skipped consulting registry if the agent is in the `slaves.recovered`.
>
>
> Diffs
> -----
>
> src/master/master.cpp d895154c00eef17511c46ddd0b75922f952707eb
>
>
> Diff: https://reviews.apache.org/r/60400/diff/2/
>
>
> Testing
> -------
>
> make check.
>
> Will add more tests.
>
>
> Thanks,
>
> Jiang Yan Xu
>
>
Re: Review Request 60400: Skipped consulting registry if the agent is
in the `slaves.recovered`.
Posted by James Peach <jp...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/60400/#review180779
-----------------------------------------------------------
Fix it, then Ship it!
Ship It!
src/master/master.cpp
Lines 6185 (patched)
<https://reviews.apache.org/r/60400/#comment256009>
s/regsitering/reregistering/
src/master/master.cpp
Lines 6206 (patched)
<https://reviews.apache.org/r/60400/#comment256013>
I think this would be clearer with an if/else.
```
if (slaves.recovered.contains(...)) {
...
readmit
} else {
...
update registry
readmit
}
```
- James Peach
On July 13, 2017, 11:01 p.m., Jiang Yan Xu wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/60400/
> -----------------------------------------------------------
>
> (Updated July 13, 2017, 11:01 p.m.)
>
>
> Review request for mesos, Benjamin Mahler, James Peach, and Neil Conway.
>
>
> Bugs: MESOS-7711
> https://issues.apache.org/jira/browse/MESOS-7711
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Skipped consulting registry if the agent is in the `slaves.recovered`.
>
>
> Diffs
> -----
>
> src/master/master.cpp d895154c00eef17511c46ddd0b75922f952707eb
>
>
> Diff: https://reviews.apache.org/r/60400/diff/2/
>
>
> Testing
> -------
>
> make check.
>
> Will add more tests.
>
>
> Thanks,
>
> Jiang Yan Xu
>
>
Re: Review Request 60400: Skipped consulting registry if the agent is
in the `slaves.recovered`.
Posted by Jiang Yan Xu <ya...@jxu.me>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/60400/
-----------------------------------------------------------
(Updated July 18, 2017, 9:20 a.m.)
Review request for mesos, Benjamin Mahler, James Peach, and Neil Conway.
Changes
-------
Addressed comments.
Bugs: MESOS-7711
https://issues.apache.org/jira/browse/MESOS-7711
Repository: mesos
Description
-------
Skipped consulting registry if the agent is in the `slaves.recovered`.
Diffs (updated)
-----
src/master/master.cpp d895154c00eef17511c46ddd0b75922f952707eb
Diff: https://reviews.apache.org/r/60400/diff/3/
Changes: https://reviews.apache.org/r/60400/diff/2-3/
Testing
-------
make check.
Will add more tests.
Thanks,
Jiang Yan Xu
Re: Review Request 60400: Skipped consulting registry if the agent is
in the `slaves.recovered`.
Posted by Jiang Yan Xu <ya...@jxu.me>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/60400/
-----------------------------------------------------------
(Updated July 13, 2017, 4:01 p.m.)
Review request for mesos, Benjamin Mahler, James Peach, and Neil Conway.
Summary (updated)
-----------------
Skipped consulting registry if the agent is in the `slaves.recovered`.
Bugs: MESOS-7711
https://issues.apache.org/jira/browse/MESOS-7711
Repository: mesos
Description
-------
Skipped consulting registry if the agent is in the `slaves.recovered`.
Diffs
-----
src/master/master.cpp 33eca0d17459781fdc2ea915e8f40c78dd306962
Diff: https://reviews.apache.org/r/60400/diff/1/
Testing (updated)
-------
make check.
Will add more tests.
Thanks,
Jiang Yan Xu