Uploaded image for project: 'Aurora'
  1. Aurora
  2. AURORA-913

Replace MaintenanceMode field with HostAttributes in HostOffer

    XMLWordPrintableJSON

Details

    • Story
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.8.0
    • Scheduler
    • None
    • Twitter Aurora Q4 Sprint 3

    Description

      Address this TODO:

        /**
         * Encapsulate an offer from a host, and the host's maintenance mode.
         */
        class HostOffer {
          private final Offer offer;
      
          // TODO(wfarner): Replace this with HostAttributes for more use of this caching.
          private final MaintenanceMode mode;
      

      Success here will mean avoiding O (n=num offers) fetching of host attributes associated with offers when scheduling a task.

      Attachments

        Activity

          People

            wfarner Bill Farner
            wfarner Bill Farner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: