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 2017/12/01 23:45:00 UTC

[jira] [Created] (MESOS-8293) Reservation may not be allocated when the role has no quota.

Meng Zhu created MESOS-8293:
-------------------------------

             Summary: Reservation may not be allocated when the role has no quota.
                 Key: MESOS-8293
                 URL: https://issues.apache.org/jira/browse/MESOS-8293
             Project: Mesos
          Issue Type: Bug
          Components: allocation
            Reporter: Meng Zhu


Reservations that belong to a role that has no quota may not be allocated even when the reserved resources are allocatable to the role.

This is because in the current implementation the reserved resources may be counted towards the headroom left for unallocated quota limit in the second stage allocation.

https://github.com/apache/mesos/blob/c844db9ac7c0cef59be87438c6781bfb71adcc42/src/master/allocator/mesos/hierarchical.cpp#L1764-L1767

Roles with quota do not have this issue because currently their reservations are taken care of in the first stage.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)