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 71020: Added overcommit and hierarchical inclusion check for `UPDATE_QUOTA`.
Date Sun, 07 Jul 2019 22:12:02 GMT

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

Review request for mesos and Benjamin Mahler.


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


Repository: mesos


Description
-------

The overcommit check validates that the total quota guarantees in
the cluster is contained by the cluster capacity.

The hierarchical inclusion check validates that the sum of
children's  guarantees is contained by the parent guarantee.

Further validation is needed for:

- Check a role's limit is less than its current consumption.
- Check a role's limit is less than its parent's limit.
- Check the sum of children's guarantees are less than its
parent's limit.


Diffs
-----

  src/master/quota_handler.cpp f9c743170461d8d83180db20c917d3842241d4df 


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


Testing
-------

make check

tests in r/71022/


Thanks,

Meng Zhu


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