mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Meng Zhu <m...@mesosphere.io>
Subject Re: Review Request 71111: Added offer rescind logic for guarantees enforcement.
Date Tue, 23 Jul 2019 20:39:14 GMT

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

(Updated July 23, 2019, 1:39 p.m.)


Review request for mesos, Andrei Sekretenko and Benjamin Mahler.


Changes
-------

Added more comments about the best-effort rescinding approach.


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


Repository: mesos


Description
-------

Outstanding offers need to be rescinded as needed to ensure
roles' requested guarantees can be satisfied.

For simplicity, and also due to the race between the master and
the allocator, we pessimistically assume that what seems like
"available" resources in the allocator are all gone. We greedily
rescind offers until we can satisfy the guarantees.

Also added a test.


Diffs (updated)
-----

  src/master/quota_handler.cpp 2a3ca5640c850ec8a8aca7abed45386b5b5e1125 
  src/tests/master_quota_tests.cpp 8105765172f17f3ea50aa09bc66fede8d21365ab 


Diff: https://reviews.apache.org/r/71111/diff/4/

Changes: https://reviews.apache.org/r/71111/diff/3-4/


Testing
-------

make check


Thanks,

Meng Zhu


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