You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Meng Zhu (JIRA)" <ji...@apache.org> on 2018/02/23 21:56:00 UTC
[jira] [Created] (MESOS-8604) Quota headroom tracking may be
incorrect in the presence of hierarchical reservation.
Meng Zhu created MESOS-8604:
-------------------------------
Summary: Quota headroom tracking may be incorrect in the presence of hierarchical reservation.
Key: MESOS-8604
URL: https://issues.apache.org/jira/browse/MESOS-8604
Project: Mesos
Issue Type: Bug
Components: allocation
Affects Versions: 1.5.0
Reporter: Meng Zhu
Assignee: Meng Zhu
When calculating the global quota headroom, we subtract all unallocated reservations by doing
```
for each role with reservation
availableHeadroom -= role total reservation - role allocated reservation;
```
We only traverse roles with reservation. In the presence of hierarchal reservation, this is problematic. Consider a child role (e.g. "a/b") with no reservations, it can still get reserved resources if its ancestor has reservations (e.g. "a" has reservations). However, allocated reserved resources of role “a/b” will be ignored given the above code.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)