[
https://issues.apache.org/jira/browse/MESOS-5664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vinod Kone updated MESOS-5664:
------------------------------
Affects Version/s: 1.0.0
> Invalid resources sent to '/reserve' are silently dropped
> ---------------------------------------------------------
>
> Key: MESOS-5664
> URL: https://issues.apache.org/jira/browse/MESOS-5664
> Project: Mesos
> Issue Type: Bug
> Affects Versions: 0.28.2, 1.0.0
> Reporter: Greg Mann
> Assignee: Greg Mann
> Labels: mesosphere
> Fix For: 1.0.0
>
>
> If an invalid resource is passed to the master's {{/reserve}} endpoint, it
> will be silently dropped and not cause an error. This can lead, for example,
> to a {{/reserve}} request containing a single invalid resource receiving a
> 200 OK response, despite the fact that no resources were reserved as a result
> of the request.
> This is due to the fact that the {{+=}} operator for {{Resources}} silently
> drops invalid resources, and this operator is used when parsing the resources
> in the HTTP request. This could be addressed by validating the resource
> objects one at a time as they are parsed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)