[
https://issues.apache.org/jira/browse/AURORA-913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14207586#comment-14207586
]
Bill Farner commented on AURORA-913:
------------------------------------
https://reviews.apache.org/r/27902/
> Replace MaintenanceMode field with HostAttributes in HostOffer
> --------------------------------------------------------------
>
> Key: AURORA-913
> URL: https://issues.apache.org/jira/browse/AURORA-913
> Project: Aurora
> Issue Type: Story
> Components: Scheduler
> Reporter: Bill Farner
> Assignee: Bill Farner
>
> Address this TODO:
> {noformat}
> /**
> * 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;
> {noformat}
> Success here will mean avoiding O(n) (n=num offers) fetching of host
> attributes associated with offers when scheduling a task.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)