You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Ben Mahler <be...@gmail.com> on 2015/06/26 23:11:40 UTC

Review Request 35912: Updated createdStatusUpdate to not set the UUID for master-generated updates.

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

Review request for mesos, Jie Yu and Vinod Kone.


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


Repository: mesos


Description
-------

This generates the performance improvements shown in MESOS-2940.

Now we only set the UUID when the source is not SOURCE_MASTER.
The existing scheduler driver ignores the 'uuid' field when an update is generated by the master ('pid' == UPID()).


Diffs
-----

  src/common/protobuf_utils.hpp 9ecd2343689252af1b997392ec367d14d55ac7d1 
  src/common/protobuf_utils.cpp bd6996159e73bf63bb7c2fa3a28def6a2be92b1b 
  src/master/master.cpp 0782b543b451921d2240958c7ef612a9e30972df 
  src/slave/slave.cpp b3e1ccc28d2698d8bc91829d70787dc2fc17b80d 
  src/tests/fault_tolerance_tests.cpp fb28e2afd19d9e9141596767b1d48363e6cce5dc 
  src/tests/partition_tests.cpp f7ee3abe321e9a44913ce5418c9ad9fda0cb3974 

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


Testing
-------

make check

Ran the benchmark per MESOS-2940.


Thanks,

Ben Mahler


Re: Review Request 35912: Updated createdStatusUpdate to take an optional UUID.

Posted by Ben Mahler <be...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/35912/
-----------------------------------------------------------

(Updated June 27, 2015, 12:37 a.m.)


Review request for mesos, Jie Yu and Vinod Kone.


Changes
-------

Vinod's feedback.


Summary (updated)
-----------------

Updated createdStatusUpdate to take an optional UUID.


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


Repository: mesos


Description
-------

This generates the performance improvements shown in MESOS-2940.

Now we only set the UUID when the source is not SOURCE_MASTER.
The existing scheduler driver ignores the 'uuid' field when an update is generated by the master ('pid' == UPID()).


Diffs (updated)
-----

  src/common/protobuf_utils.hpp 9ecd2343689252af1b997392ec367d14d55ac7d1 
  src/common/protobuf_utils.cpp bd6996159e73bf63bb7c2fa3a28def6a2be92b1b 
  src/master/master.cpp 0782b543b451921d2240958c7ef612a9e30972df 
  src/sched/sched.cpp bc76c71ae9d44bdddd291049223366e38cb0fd0c 
  src/slave/slave.cpp b3e1ccc28d2698d8bc91829d70787dc2fc17b80d 
  src/tests/fault_tolerance_tests.cpp fb28e2afd19d9e9141596767b1d48363e6cce5dc 
  src/tests/partition_tests.cpp f7ee3abe321e9a44913ce5418c9ad9fda0cb3974 

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


Testing
-------

make check

Ran the benchmark per MESOS-2940.


Thanks,

Ben Mahler


Re: Review Request 35912: Updated createdStatusUpdate to not set the UUID for master-generated updates.

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

Ship it!



src/common/protobuf_utils.hpp (line 45)
<https://reviews.apache.org/r/35912/#comment142217>

    s/master-generated/master and scheduler driver/


- Vinod Kone


On June 26, 2015, 9:11 p.m., Ben Mahler wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/35912/
> -----------------------------------------------------------
> 
> (Updated June 26, 2015, 9:11 p.m.)
> 
> 
> Review request for mesos, Jie Yu and Vinod Kone.
> 
> 
> Bugs: MESOS-2940
>     https://issues.apache.org/jira/browse/MESOS-2940
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> This generates the performance improvements shown in MESOS-2940.
> 
> Now we only set the UUID when the source is not SOURCE_MASTER.
> The existing scheduler driver ignores the 'uuid' field when an update is generated by the master ('pid' == UPID()).
> 
> 
> Diffs
> -----
> 
>   src/common/protobuf_utils.hpp 9ecd2343689252af1b997392ec367d14d55ac7d1 
>   src/common/protobuf_utils.cpp bd6996159e73bf63bb7c2fa3a28def6a2be92b1b 
>   src/master/master.cpp 0782b543b451921d2240958c7ef612a9e30972df 
>   src/slave/slave.cpp b3e1ccc28d2698d8bc91829d70787dc2fc17b80d 
>   src/tests/fault_tolerance_tests.cpp fb28e2afd19d9e9141596767b1d48363e6cce5dc 
>   src/tests/partition_tests.cpp f7ee3abe321e9a44913ce5418c9ad9fda0cb3974 
> 
> Diff: https://reviews.apache.org/r/35912/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> Ran the benchmark per MESOS-2940.
> 
> 
> Thanks,
> 
> Ben Mahler
> 
>