mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Meng Zhu <m...@mesosphere.io>
Subject Review Request 70320: Used `ResourceQuantities` in `__allocate()` when possible.
Date Wed, 27 Mar 2019 05:31:13 GMT

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

Review request for mesos and Benjamin Mahler.


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


Repository: mesos


Description
-------

Replaced `Resources` with `ResourceQuantities` when possible
in `__allocate()`. This simplifies the code and improves
performance.


Diffs
-----

  src/master/allocator/mesos/hierarchical.hpp 36bf90baf413e99c1580d516dfac0f074335d322 
  src/master/allocator/mesos/hierarchical.cpp 8bc749903b8ceb09a02e260919377483479302b5 


Diff: https://reviews.apache.org/r/70320/diff/1/


Testing
-------

make check
Benchmark results coming in subsequent patches.


Thanks,

Meng Zhu


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