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

Improved performance for resource flatten

    XMLWordPrintableJSON

Details

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

    Description

      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.

      Attachments

        Activity

          People

            gyliu Guangya Liu
            gyliu Guangya Liu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: