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 65806: Fixed a bug where quota headroom is miscalculated.
Date Tue, 27 Feb 2018 00:45:51 GMT

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

Review request for mesos, Benjamin Mahler and Michael Park.


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


Repository: mesos


Description
-------

When calculating the quota headroom, we failed to consider
ancestor's reservation allocated to the child. This leads
to under-estimation of available headroom and excessive
resources being set aside for headroom. See MESOS-8604.

This patches fixes this issue by counting ancestor's reservation
allocated to the child as allocated-reservation even though
the child itself has no reservation.


Diffs
-----

  src/master/allocator/mesos/hierarchical.cpp 80e0a347d6641c922cf7c62bef220ff5c8864597 


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


Testing
-------


Thanks,

Meng Zhu


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