You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Yong Qiao Wang (JIRA)" <ji...@apache.org> on 2015/08/20 10:36:45 UTC
[jira] [Updated] (MESOS-3301) Should remove redundant check
[ https://issues.apache.org/jira/browse/MESOS-3301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yong Qiao Wang updated MESOS-3301:
----------------------------------
Priority: Minor (was: Critical)
> 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: Minor
>
> 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)