mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anindya Sinha <anindya_si...@apple.com>
Subject Re: Review Request 57935: Recalculate shares only when total scalar quantities have changed.
Date Thu, 11 May 2017 21:02:47 GMT

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

(Updated May 11, 2017, 9:02 p.m.)


Review request for mesos and Neil Conway.


Changes
-------

Rebased.


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


Repository: mesos


Description
-------

In `DRFSorter::update`, we should set the `dirty` flag only when the
total scalar quantities have changed in any of the cleints in the
hierarchy, and not always.


Diffs (updated)
-----

  src/master/allocator/sorter/drf/sorter.hpp fee58d6d1f08163e2a06a4a20c891fe535c3dcff 
  src/master/allocator/sorter/drf/sorter.cpp 26b77f578f3235a8792c72d4575d607cdb2c7de7 


Diff: https://reviews.apache.org/r/57935/diff/3/

Changes: https://reviews.apache.org/r/57935/diff/2-3/


Testing
-------

All tests passed.


Thanks,

Anindya Sinha


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