Chun-Hung Hsiao created MESOS-9407:
--------------------------------------

             Summary: `UPDATE_STATE` with bad resource provider IDs will crash 
the agent.
                 Key: MESOS-9407
                 URL: https://issues.apache.org/jira/browse/MESOS-9407
             Project: Mesos
          Issue Type: Bug
          Components: resource provider
            Reporter: Chun-Hung Hsiao


https://github.com/apache/mesos/blob/60a85777d640d01967bd44224ca40f855d3b39f1/src/resource_provider/manager.cpp#L907

If a resource provider does not set up {{provider_id}} correctly for its 
resources in an {{UPDATE_STATE}} call, the agent will crash. We should be 
defensive and send an {{ERROR}} event to ask the resource provider to abort. 
Moreover, we should also validate that the resource provider IDs of all 
reported operations are correct.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to