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

Review request for mesos and Benjamin Mahler.


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


Repository: mesos


Description
-------

A `QuotaConfig` is valid if the following conditions are met:

 (1) The config has a valid non-"*" role.

 (2) Resource scalar values are non-negative and finite.

 (3) If both guarantees and limits are set for a particular
     resource, then guarantee <= limit for that resource.


Diffs
-----

  src/master/quota.hpp 5cd2bb0e8669ee0290a4c1fe1058b87251772939 
  src/master/quota.cpp 671626c01ada595d7557d5266e39a17cce243b94 


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


Testing
-------

make check
dedicated test added in subsequent patches


Thanks,

Meng Zhu

Reply via email to