You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Benjamin Mahler (JIRA)" <ji...@apache.org> on 2017/02/06 01:53:41 UTC

[jira] [Created] (MESOS-7061) Re-persist tasks/executors with allocation info during agent recovery.

Benjamin Mahler created MESOS-7061:
--------------------------------------

             Summary: 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


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)