Yong Qiao Wang created MESOS-3301:
-------------------------------------

             Summary: Should remove redundant check
                 Key: MESOS-3301
                 URL: https://issues.apache.org/jira/browse/MESOS-3301
             Project: Mesos
          Issue Type: Improvement
            Reporter: Yong Qiao Wang
            Assignee: Yong Qiao Wang
            Priority: Critical


In functions: HierarchicalAllocatorProcess<RoleSorter, 
FrameworkSorter>::initialize() and HierarchicalAllocatorProcess<RoleSorter, 
FrameworkSorter>::allocate(), it does not need to check the roleSorter->count() 
, because the role * always be added to roleSorter.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to