Greg Mann created MESOS-7851:
--------------------------------
Summary: Master stores old resource format in the registry
Key: MESOS-7851
URL: https://issues.apache.org/jira/browse/MESOS-7851
Project: Mesos
Issue Type: Bug
Components: master
Reporter: Greg Mann
We intend for the master to store all internal resource representations in the
new, post-reservation-refinement format. However, [when persisting registered
agents to the
registrar|https://github.com/apache/mesos/blob/498a000ac1bb8f51dc871f22aea265424a407a17/src/master/master.cpp#L5861-L5876],
the master does not convert the resources; agents provide resources in the
pre-reservation-refinement format, and these resources are stored as-is. This
means that after recovery, any agents in the master's {{slaves.recovered}} map
will have {{SlaveInfo.resources}} in the pre-reservation-refinement format.
We should update the master to convert these resources before persisting them
to the registry.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)