Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-7402

Quota is over-allocated when used with hierarchical roles.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • None
    • None
    • None

    Description

      Consider following case: role a is quota'd with resource 100, role a/b is quota'd with resource 40. In current implementation, quota of parent role is actually the aggregation of quota in whole subtree, including itself. Therefore, the internal node of a is actually quota'd with 60, instead of 100. In another word, allocation made for quota of a/b should also be charged from the quota of its parent.

      Attachments

        1. hrole_quota_test.patch
          3 kB
          Neil Conway

        Issue Links

          Activity

            People

              guoger Jay Guo
              guoger Jay Guo
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: