You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Benno Evers <be...@mesosphere.com> on 2017/11/28 00:37:19 UTC
Review Request 64101: Skip registry update if SlaveInfo didn't change.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/64101/
-----------------------------------------------------------
Review request for mesos and Vinod Kone.
Repository: mesos
Description
-------
Skip registry update if SlaveInfo didn't change.
Diffs
-----
src/master/master.cpp 2ddd67ada3731803b00883b6a1f32b20c1bb238f
Diff: https://reviews.apache.org/r/64101/diff/1/
Testing
-------
Thanks,
Benno Evers
Re: Review Request 64101: Skip registry update if SlaveInfo didn't
change.
Posted by Vinod Kone <vi...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/64101/#review191962
-----------------------------------------------------------
Write a test to ensure registry is not updated when there is no change.
- Vinod Kone
On Nov. 28, 2017, 12:37 a.m., Benno Evers wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/64101/
> -----------------------------------------------------------
>
> (Updated Nov. 28, 2017, 12:37 a.m.)
>
>
> Review request for mesos and Vinod Kone.
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Skip registry update if SlaveInfo didn't change.
>
>
> Diffs
> -----
>
> src/master/master.cpp 2ddd67ada3731803b00883b6a1f32b20c1bb238f
>
>
> Diff: https://reviews.apache.org/r/64101/diff/1/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Benno Evers
>
>
Re: Review Request 64101: Skip registry update if SlaveInfo didn't
change.
Posted by Vinod Kone <vi...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/64101/#review191961
-----------------------------------------------------------
src/master/master.cpp
Lines 6530-6536 (patched)
<https://reviews.apache.org/r/64101/#comment269925>
I would just call `__registerSlave` directly here. But ask @mpark for advice.
- Vinod Kone
On Nov. 28, 2017, 12:37 a.m., Benno Evers wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/64101/
> -----------------------------------------------------------
>
> (Updated Nov. 28, 2017, 12:37 a.m.)
>
>
> Review request for mesos and Vinod Kone.
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Skip registry update if SlaveInfo didn't change.
>
>
> Diffs
> -----
>
> src/master/master.cpp 2ddd67ada3731803b00883b6a1f32b20c1bb238f
>
>
> Diff: https://reviews.apache.org/r/64101/diff/1/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Benno Evers
>
>
Re: Review Request 64101: Skip registry update when nothing changed.
Posted by Vinod Kone <vi...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/64101/#review192792
-----------------------------------------------------------
Fix it, then Ship it!
src/master/master.cpp
Lines 6586 (patched)
<https://reviews.apache.org/r/64101/#comment271066>
s/nothing/`slaveInfo`/
src/master/master.cpp
Lines 6622 (patched)
<https://reviews.apache.org/r/64101/#comment271067>
s/nothing/`slaveInfo`/
- Vinod Kone
On Dec. 4, 2017, 4:26 p.m., Benno Evers wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/64101/
> -----------------------------------------------------------
>
> (Updated Dec. 4, 2017, 4:26 p.m.)
>
>
> Review request for mesos and Vinod Kone.
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Most of the time, agents will not change their configuration
> when they restart, so we can skip updating the registry in this
> case.
>
>
> Diffs
> -----
>
> src/master/master.cpp 883793a226849434eb833c3027d121635a86fdc4
>
>
> Diff: https://reviews.apache.org/r/64101/diff/3/
>
>
> Testing
> -------
>
> `make check`
>
> https://jenkins.mesosphere.com/service/jenkins/view/Mesos/job/mesos/job/Mesos_CI-build/2302/
>
>
> Thanks,
>
> Benno Evers
>
>
Re: Review Request 64101: Skip registry update when nothing changed.
Posted by Vinod Kone <vi...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/64101/#review192924
-----------------------------------------------------------
Ship it!
Ship It!
- Vinod Kone
On Dec. 5, 2017, 1:36 p.m., Benno Evers wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/64101/
> -----------------------------------------------------------
>
> (Updated Dec. 5, 2017, 1:36 p.m.)
>
>
> Review request for mesos and Vinod Kone.
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Most of the time, agents will not change their configuration
> when they restart, so we can skip updating the registry in this
> case.
>
>
> Diffs
> -----
>
> src/master/master.cpp 883793a226849434eb833c3027d121635a86fdc4
>
>
> Diff: https://reviews.apache.org/r/64101/diff/4/
>
>
> Testing
> -------
>
> `make check`
>
> https://jenkins.mesosphere.com/service/jenkins/view/Mesos/job/mesos/job/Mesos_CI-build/2302/
>
>
> Thanks,
>
> Benno Evers
>
>
Re: Review Request 64101: Skip registry update when nothing changed.
Posted by Benno Evers <be...@mesosphere.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/64101/
-----------------------------------------------------------
(Updated Dec. 5, 2017, 1:36 p.m.)
Review request for mesos and Vinod Kone.
Repository: mesos
Description
-------
Most of the time, agents will not change their configuration
when they restart, so we can skip updating the registry in this
case.
Diffs (updated)
-----
src/master/master.cpp 883793a226849434eb833c3027d121635a86fdc4
Diff: https://reviews.apache.org/r/64101/diff/4/
Changes: https://reviews.apache.org/r/64101/diff/3-4/
Testing
-------
`make check`
https://jenkins.mesosphere.com/service/jenkins/view/Mesos/job/mesos/job/Mesos_CI-build/2302/
Thanks,
Benno Evers
Re: Review Request 64101: Skip registry update when nothing changed.
Posted by Benno Evers <be...@mesosphere.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/64101/
-----------------------------------------------------------
(Updated Dec. 4, 2017, 4:26 p.m.)
Review request for mesos and Vinod Kone.
Summary (updated)
-----------------
Skip registry update when nothing changed.
Repository: mesos
Description (updated)
-------
Most of the time, agents will not change their configuration
when they restart, so we can skip updating the registry in this
case.
Diffs (updated)
-----
src/master/master.cpp 883793a226849434eb833c3027d121635a86fdc4
Diff: https://reviews.apache.org/r/64101/diff/3/
Changes: https://reviews.apache.org/r/64101/diff/2-3/
Testing
-------
Thanks,
Benno Evers
Re: Review Request 64101: Skip registry update if SlaveInfo didn't
change.
Posted by Benno Evers <be...@mesosphere.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/64101/
-----------------------------------------------------------
(Updated Nov. 29, 2017, 7:11 p.m.)
Review request for mesos and Vinod Kone.
Repository: mesos
Description
-------
Skip registry update if SlaveInfo didn't change.
Diffs (updated)
-----
src/master/master.cpp 700e12433b0b66efc3f5dd296711c0f203a13144
Diff: https://reviews.apache.org/r/64101/diff/2/
Changes: https://reviews.apache.org/r/64101/diff/1-2/
Testing
-------
Thanks,
Benno Evers
Re: Review Request 64101: Skip registry update if SlaveInfo didn't
change.
Posted by Vinod Kone <vi...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/64101/#review191963
-----------------------------------------------------------
src/master/master.cpp
Lines 6530-6536 (patched)
<https://reviews.apache.org/r/64101/#comment269926>
Expand the comment here mentioning about the performance hit of enquing dispatches to registrar after failover.
- Vinod Kone
On Nov. 28, 2017, 12:37 a.m., Benno Evers wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/64101/
> -----------------------------------------------------------
>
> (Updated Nov. 28, 2017, 12:37 a.m.)
>
>
> Review request for mesos and Vinod Kone.
>
>
> Repository: mesos
>
>
> Description
> -------
>
> Skip registry update if SlaveInfo didn't change.
>
>
> Diffs
> -----
>
> src/master/master.cpp 2ddd67ada3731803b00883b6a1f32b20c1bb238f
>
>
> Diff: https://reviews.apache.org/r/64101/diff/1/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Benno Evers
>
>