You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Ilya Pronin <ip...@twopensource.com> on 2017/01/30 17:27:40 UTC

Review Request 56086: Simplified AppC provisioner cache keys comparison.

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

Review request for mesos, Benjamin Mahler and Jie Yu.


Repository: mesos


Description
-------

Manual elements searching is not required since `std::map` is ordered. Replaced it with standard `operator==` that checks maps sizes and does linear element by element comparison.


Diffs
-----

  src/slave/containerizer/mesos/provisioner/appc/cache.cpp fed5ae97419d5eb9611a6fd1ade1bbed7ed440a2 

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


Testing
-------

`make check`


Thanks,

Ilya Pronin


Re: Review Request 56086: Simplified AppC provisioner cache keys comparison.

Posted by Gilbert Song <so...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/56086/#review163849
-----------------------------------------------------------


Ship it!




LGTM!

- Gilbert Song


On Jan. 30, 2017, 9:27 a.m., Ilya Pronin wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/56086/
> -----------------------------------------------------------
> 
> (Updated Jan. 30, 2017, 9:27 a.m.)
> 
> 
> Review request for mesos, Benjamin Mahler and Jie Yu.
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Manual elements searching is not required since `std::map` is ordered. Replaced it with standard `operator==` that checks maps sizes and does linear element by element comparison.
> 
> 
> Diffs
> -----
> 
>   src/slave/containerizer/mesos/provisioner/appc/cache.cpp fed5ae97419d5eb9611a6fd1ade1bbed7ed440a2 
> 
> Diff: https://reviews.apache.org/r/56086/diff/
> 
> 
> Testing
> -------
> 
> `make check`
> 
> 
> Thanks,
> 
> Ilya Pronin
> 
>


Re: Review Request 56086: Simplified AppC provisioner cache keys comparison.

Posted by Benjamin Mahler <bm...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/56086/#review163867
-----------------------------------------------------------


Ship it!




Ship It!

- Benjamin Mahler


On Feb. 1, 2017, 6:49 p.m., Ilya Pronin wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/56086/
> -----------------------------------------------------------
> 
> (Updated Feb. 1, 2017, 6:49 p.m.)
> 
> 
> Review request for mesos, Benjamin Mahler and Jie Yu.
> 
> 
> Bugs: MESOS-7046
>     https://issues.apache.org/jira/browse/MESOS-7046
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Manual elements searching is not required since `std::map` is ordered. Replaced it with standard `operator==` that checks maps sizes and does linear element by element comparison.
> 
> 
> Diffs
> -----
> 
>   src/slave/containerizer/mesos/provisioner/appc/cache.cpp fed5ae97419d5eb9611a6fd1ade1bbed7ed440a2 
> 
> Diff: https://reviews.apache.org/r/56086/diff/
> 
> 
> Testing
> -------
> 
> `make check`
> 
> 
> Thanks,
> 
> Ilya Pronin
> 
>


Re: Review Request 56086: Simplified AppC provisioner cache keys comparison.

Posted by Ilya Pronin <ip...@twopensource.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/56086/
-----------------------------------------------------------

(Updated Feb. 1, 2017, 6:49 p.m.)


Review request for mesos, Benjamin Mahler and Jie Yu.


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


Repository: mesos


Description
-------

Manual elements searching is not required since `std::map` is ordered. Replaced it with standard `operator==` that checks maps sizes and does linear element by element comparison.


Diffs
-----

  src/slave/containerizer/mesos/provisioner/appc/cache.cpp fed5ae97419d5eb9611a6fd1ade1bbed7ed440a2 

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


Testing
-------

`make check`


Thanks,

Ilya Pronin


Re: Review Request 56086: Simplified AppC provisioner cache keys comparison.

Posted by Mesos Reviewbot <re...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/56086/#review163584
-----------------------------------------------------------



Patch looks great!

Reviews applied: [56086]

Passed command: export OS='ubuntu:14.04' BUILDTOOL='autotools' COMPILER='gcc' CONFIGURATION='--verbose' ENVIRONMENT='GLOG_v=1 MESOS_VERBOSE=1'; ./support/docker-build.sh

- Mesos Reviewbot


On Jan. 30, 2017, 5:27 p.m., Ilya Pronin wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/56086/
> -----------------------------------------------------------
> 
> (Updated Jan. 30, 2017, 5:27 p.m.)
> 
> 
> Review request for mesos, Benjamin Mahler and Jie Yu.
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Manual elements searching is not required since `std::map` is ordered. Replaced it with standard `operator==` that checks maps sizes and does linear element by element comparison.
> 
> 
> Diffs
> -----
> 
>   src/slave/containerizer/mesos/provisioner/appc/cache.cpp fed5ae97419d5eb9611a6fd1ade1bbed7ed440a2 
> 
> Diff: https://reviews.apache.org/r/56086/diff/
> 
> 
> Testing
> -------
> 
> `make check`
> 
> 
> Thanks,
> 
> Ilya Pronin
> 
>