You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Anand Mazumdar <an...@apache.org> on 2017/09/21 20:27:17 UTC
Review Request 62477: Added the gone agents to the master registry.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/62477/
-----------------------------------------------------------
Review request for mesos and Vinod Kone.
Bugs: MESOS-7444
https://issues.apache.org/jira/browse/MESOS-7444
Repository: mesos
Description
-------
This change adds the list of gone agents to the registry and also
introduces the `MarkSlaveGone` operation on the Mesos master. This
would be used by the Master Operator API handler to insert an agent
into the list of gone agent.
Diffs
-----
src/master/master.hpp 05f88111afb4fa0e2baf57106e1479914c16a113
src/master/registry.proto 362a9fab946e9fb0411df2277f7f3edbadccb61a
src/tests/registrar_tests.cpp b5fc45887e25345d49feb4975f6256cfd7b0fe55
Diff: https://reviews.apache.org/r/62477/diff/1/
Testing
-------
make check
Thanks,
Anand Mazumdar
Re: Review Request 62477: Added the gone agents to the master
registry.
Posted by Anand Mazumdar <an...@apache.org>.
> On Sept. 25, 2017, 11:56 p.m., Vinod Kone wrote:
> > src/master/master.hpp
> > Lines 2306 (patched)
> > <https://reviews.apache.org/r/62477/diff/2/?file=1833356#file1833356line2306>
> >
> > Looks like this is not possible according to the code in the next review. If so, can you return an `Error` with a comment similar to #2127.
My bad; Fix incoming!
- Anand
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/62477/#review186176
-----------------------------------------------------------
On Sept. 21, 2017, 8:27 p.m., Anand Mazumdar wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62477/
> -----------------------------------------------------------
>
> (Updated Sept. 21, 2017, 8:27 p.m.)
>
>
> Review request for mesos and Vinod Kone.
>
>
> Bugs: MESOS-7444
> https://issues.apache.org/jira/browse/MESOS-7444
>
>
> Repository: mesos
>
>
> Description
> -------
>
> This change adds the list of gone agents to the registry and also
> introduces the `MarkSlaveGone` operation on the Mesos master. This
> would be used by the Master Operator API handler to insert an agent
> into the list of gone agent.
>
>
> Diffs
> -----
>
> src/master/master.hpp 05f88111afb4fa0e2baf57106e1479914c16a113
> src/master/registry.proto 362a9fab946e9fb0411df2277f7f3edbadccb61a
> src/tests/registrar_tests.cpp b5fc45887e25345d49feb4975f6256cfd7b0fe55
>
>
> Diff: https://reviews.apache.org/r/62477/diff/2/
>
>
> Testing
> -------
>
> make check
>
>
> Thanks,
>
> Anand Mazumdar
>
>
Re: Review Request 62477: Added the gone agents to the master
registry.
Posted by Vinod Kone <vi...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/62477/#review186176
-----------------------------------------------------------
src/master/master.hpp
Lines 2306 (patched)
<https://reviews.apache.org/r/62477/#comment262625>
Looks like this is not possible according to the code in the next review. If so, can you return an `Error` with a comment similar to #2127.
- Vinod Kone
On Sept. 21, 2017, 8:27 p.m., Anand Mazumdar wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62477/
> -----------------------------------------------------------
>
> (Updated Sept. 21, 2017, 8:27 p.m.)
>
>
> Review request for mesos and Vinod Kone.
>
>
> Bugs: MESOS-7444
> https://issues.apache.org/jira/browse/MESOS-7444
>
>
> Repository: mesos
>
>
> Description
> -------
>
> This change adds the list of gone agents to the registry and also
> introduces the `MarkSlaveGone` operation on the Mesos master. This
> would be used by the Master Operator API handler to insert an agent
> into the list of gone agent.
>
>
> Diffs
> -----
>
> src/master/master.hpp 05f88111afb4fa0e2baf57106e1479914c16a113
> src/master/registry.proto 362a9fab946e9fb0411df2277f7f3edbadccb61a
> src/tests/registrar_tests.cpp b5fc45887e25345d49feb4975f6256cfd7b0fe55
>
>
> Diff: https://reviews.apache.org/r/62477/diff/2/
>
>
> Testing
> -------
>
> make check
>
>
> Thanks,
>
> Anand Mazumdar
>
>
Re: Review Request 62477: Added the gone agents to the master
registry.
Posted by Anand Mazumdar <an...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/62477/
-----------------------------------------------------------
(Updated Sept. 26, 2017, 8:25 p.m.)
Review request for mesos and Vinod Kone.
Changes
-------
Review comments.
Bugs: MESOS-7444
https://issues.apache.org/jira/browse/MESOS-7444
Repository: mesos
Description (updated)
-------
This change adds the list of gone agents to the registry and also
introduces the `MarkSlaveGone` operation on the Mesos master. This
would be used by the Master Operator API handler to insert an agent
into the list of gone agent.
Diffs (updated)
-----
src/master/master.hpp 05f88111afb4fa0e2baf57106e1479914c16a113
src/master/registry.proto 362a9fab946e9fb0411df2277f7f3edbadccb61a
src/tests/registrar_tests.cpp b5fc45887e25345d49feb4975f6256cfd7b0fe55
Diff: https://reviews.apache.org/r/62477/diff/4/
Changes: https://reviews.apache.org/r/62477/diff/3-4/
Testing
-------
make check
Thanks,
Anand Mazumdar
Re: Review Request 62477: Added the gone agents to the master
registry.
Posted by Vinod Kone <vi...@gmail.com>.
> On Sept. 26, 2017, 12:02 a.m., Vinod Kone wrote:
> > src/master/registry.proto
> > Lines 60 (patched)
> > <https://reviews.apache.org/r/62477/diff/2/?file=1833357#file1833357line60>
> >
> > s/master/operator/ ?
>
> Anand Mazumdar wrote:
> hmm, not sure about this. The operator inititates the gone operation but the master uses its own 'clock' to set the gone time.
I guess you mention "operator" in the comment above `gone` so that's ok. I was mainly concerned because this sentence almost makes it look like it's the master that is marking it gone even though it only relates to time.
- Vinod
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/62477/#review186178
-----------------------------------------------------------
On Sept. 21, 2017, 8:27 p.m., Anand Mazumdar wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62477/
> -----------------------------------------------------------
>
> (Updated Sept. 21, 2017, 8:27 p.m.)
>
>
> Review request for mesos and Vinod Kone.
>
>
> Bugs: MESOS-7444
> https://issues.apache.org/jira/browse/MESOS-7444
>
>
> Repository: mesos
>
>
> Description
> -------
>
> This change adds the list of gone agents to the registry and also
> introduces the `MarkSlaveGone` operation on the Mesos master. This
> would be used by the Master Operator API handler to insert an agent
> into the list of gone agent.
>
> Review: https://reviews.apache.org/r/62477
>
>
> Diffs
> -----
>
> src/master/master.hpp 05f88111afb4fa0e2baf57106e1479914c16a113
> src/master/registry.proto 362a9fab946e9fb0411df2277f7f3edbadccb61a
> src/tests/registrar_tests.cpp b5fc45887e25345d49feb4975f6256cfd7b0fe55
>
>
> Diff: https://reviews.apache.org/r/62477/diff/3/
>
>
> Testing
> -------
>
> make check
>
>
> Thanks,
>
> Anand Mazumdar
>
>
Re: Review Request 62477: Added the gone agents to the master
registry.
Posted by Vinod Kone <vi...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/62477/#review186178
-----------------------------------------------------------
src/master/registry.proto
Lines 60 (patched)
<https://reviews.apache.org/r/62477/#comment262630>
s/master/operator/ ?
- Vinod Kone
On Sept. 21, 2017, 8:27 p.m., Anand Mazumdar wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62477/
> -----------------------------------------------------------
>
> (Updated Sept. 21, 2017, 8:27 p.m.)
>
>
> Review request for mesos and Vinod Kone.
>
>
> Bugs: MESOS-7444
> https://issues.apache.org/jira/browse/MESOS-7444
>
>
> Repository: mesos
>
>
> Description
> -------
>
> This change adds the list of gone agents to the registry and also
> introduces the `MarkSlaveGone` operation on the Mesos master. This
> would be used by the Master Operator API handler to insert an agent
> into the list of gone agent.
>
>
> Diffs
> -----
>
> src/master/master.hpp 05f88111afb4fa0e2baf57106e1479914c16a113
> src/master/registry.proto 362a9fab946e9fb0411df2277f7f3edbadccb61a
> src/tests/registrar_tests.cpp b5fc45887e25345d49feb4975f6256cfd7b0fe55
>
>
> Diff: https://reviews.apache.org/r/62477/diff/2/
>
>
> Testing
> -------
>
> make check
>
>
> Thanks,
>
> Anand Mazumdar
>
>
Re: Review Request 62477: Added the gone agents to the master
registry.
Posted by Vinod Kone <vi...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/62477/#review186304
-----------------------------------------------------------
src/tests/registrar_tests.cpp
Lines 384-385 (patched)
<https://reviews.apache.org/r/62477/#comment262802>
this should succeed right?
- Vinod Kone
On Sept. 21, 2017, 8:27 p.m., Anand Mazumdar wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62477/
> -----------------------------------------------------------
>
> (Updated Sept. 21, 2017, 8:27 p.m.)
>
>
> Review request for mesos and Vinod Kone.
>
>
> Bugs: MESOS-7444
> https://issues.apache.org/jira/browse/MESOS-7444
>
>
> Repository: mesos
>
>
> Description
> -------
>
> This change adds the list of gone agents to the registry and also
> introduces the `MarkSlaveGone` operation on the Mesos master. This
> would be used by the Master Operator API handler to insert an agent
> into the list of gone agent.
>
> Review: https://reviews.apache.org/r/62477
>
>
> Diffs
> -----
>
> src/master/master.hpp 05f88111afb4fa0e2baf57106e1479914c16a113
> src/master/registry.proto 362a9fab946e9fb0411df2277f7f3edbadccb61a
> src/tests/registrar_tests.cpp b5fc45887e25345d49feb4975f6256cfd7b0fe55
>
>
> Diff: https://reviews.apache.org/r/62477/diff/3/
>
>
> Testing
> -------
>
> make check
>
>
> Thanks,
>
> Anand Mazumdar
>
>
Re: Review Request 62477: Added the gone agents to the master
registry.
Posted by Vinod Kone <vi...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/62477/#review186174
-----------------------------------------------------------
Ship it!
Ship It!
- Vinod Kone
On Sept. 21, 2017, 8:27 p.m., Anand Mazumdar wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62477/
> -----------------------------------------------------------
>
> (Updated Sept. 21, 2017, 8:27 p.m.)
>
>
> Review request for mesos and Vinod Kone.
>
>
> Bugs: MESOS-7444
> https://issues.apache.org/jira/browse/MESOS-7444
>
>
> Repository: mesos
>
>
> Description
> -------
>
> This change adds the list of gone agents to the registry and also
> introduces the `MarkSlaveGone` operation on the Mesos master. This
> would be used by the Master Operator API handler to insert an agent
> into the list of gone agent.
>
>
> Diffs
> -----
>
> src/master/master.hpp 05f88111afb4fa0e2baf57106e1479914c16a113
> src/master/registry.proto 362a9fab946e9fb0411df2277f7f3edbadccb61a
> src/tests/registrar_tests.cpp b5fc45887e25345d49feb4975f6256cfd7b0fe55
>
>
> Diff: https://reviews.apache.org/r/62477/diff/2/
>
>
> Testing
> -------
>
> make check
>
>
> Thanks,
>
> Anand Mazumdar
>
>