Guangya Liu created MESOS-6131:
----------------------------------
Summary: Improved performance for resource flatten
Key: MESOS-6131
URL: https://issues.apache.org/jira/browse/MESOS-6131
Project: Mesos
Issue Type: Bug
Reporter: Guangya Liu
Assignee: Guangya Liu
The {{Resources::flatten}} is using {{+=}} to add single resource object, but
this will impact the performance much as {{+=}} will invoke resource
validation, here we should validate the role first and then call {{add}}
directly to avoid resource validation.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)