mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Mahler <>
Subject Review Request 71030: Added quota_consumption field to /roles endpoint.
Date Mon, 08 Jul 2019 18:07:32 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for mesos, Andrei Sekretenko and Meng Zhu.

Bugs: MESOS-9871

Repository: mesos


Per the previous commit that adds the quota consumption computation,
quota consumption is:

  Allocation + Unallocated Reservation ==
  Reservations + Unreserved Allocation

That is, reservations count towards quota regardless of whether
they're allocated. Allocation counts towards quota. Offered resources
*do not* count towards quota, this is to (1) provide stability of the
quota consumption metrics in the face of offers flowing in and out,
and (2) to ensure that we treat offers as rescindable and therefore
not yet "counting" towards quota. Also, if in the future schedulers
are offered more than their quota to improve their choices, counting
offered resources as quota consumption will be problematic.


  src/master/readonly_handler.cpp 0d1e3dc19352863263c3e8992a63852c7f27225b 
  src/tests/role_tests.cpp bf5b3cba59d38eee41ed222d14bc8c928fcf2a79 



Added a test in a subsequent patch.


Benjamin Mahler

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