[ https://issues.apache.org/jira/browse/MESOS-7061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Mahler reassigned MESOS-7061: -------------------------------------- Assignee: Michael Park [~mcypark] can you still take this? > Re-persist tasks/executors with allocation info during agent recovery. > ---------------------------------------------------------------------- > > Key: MESOS-7061 > URL: https://issues.apache.org/jira/browse/MESOS-7061 > Project: Mesos > Issue Type: Task > Components: agent > Reporter: Benjamin Mahler > Assignee: Michael Park > > When the agent is upgraded, it will need to re-persist resources for > recovered active tasks and executors, but with Resource.allocation_info.role > set to FrameworkInfo.role. > If this agent receives new tasks from an old master (because the master has > not been upgraded yet), it will also augment the resources to have > Resource.allocation_info.role set prior to persisting on disk. This is > necessary to ensure we continue to charge existing tasks / executors if the > framework changes its role(s). > Importantly, re-persisting will not prevent downgrading the agent since a > downgraded agent will simply ignore the unknown fields. -- This message was sent by Atlassian JIRA (v6.3.15#6346)