mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Mahler <bmah...@apache.org>
Subject Re: Review Request 68637: Avoided extra copying of Resources in Master::offer.
Date Thu, 06 Sep 2018 22:05:51 GMT

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

(Updated Sept. 6, 2018, 10:05 p.m.)


Review request for mesos, Gastón Kleiman and Meng Zhu.


Changes
-------

Updated to use swap to last + remove last.


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

Avoided extra copying of Resources in Master::offer.


Repository: mesos


Description (updated)
-------

In order to remove ephemeral ports resources, we now perform an
efficient swap to last + remove last operation.


Diffs (updated)
-----

  src/master/master.cpp 3277b573b78d68a36d98bc8bee47f7a94a5aff18 


Diff: https://reviews.apache.org/r/68637/diff/2/

Changes: https://reviews.apache.org/r/68637/diff/1-2/


Testing
-------

make check


Thanks,

Benjamin Mahler


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message