[ 
https://issues.apache.org/jira/browse/MESOS-6110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

haosdent updated MESOS-6110:
----------------------------
    Description: 
When sending a task launch using the 1.0.x protos and the legacy (non-http) 
API, tasks with a healthcheck defined are rejected (TASK_ERROR) because the 
'type' field is not set.

This field is marked optional in the proto and is not available before 1.1.0, 
so it should not be required in order to keep the mesos v1 api compatibility 
promise.

For backwards compatibility temporarily allow the use case when command health 
check is set without a type.

  was:
When sending a task launch using the 1.0.x protos and the legacy (non-http) 
API, tasks with a healthcheck defined are rejected (TASK_ERROR) because the 
'type' field is not set.

This field is marked optional in the proto and is not available before 1.1.0, 
so it should not be required in order to keep the mesos v1 api compatibility 
promise.


> Deprecated the health check without type specified
> --------------------------------------------------
>
>                 Key: MESOS-6110
>                 URL: https://issues.apache.org/jira/browse/MESOS-6110
>             Project: Mesos
>          Issue Type: Bug
>          Components: master
>    Affects Versions: 1.1.0
>            Reporter: Silas Snider
>            Assignee: haosdent
>            Priority: Blocker
>              Labels: compatibility, health-check, mesosphere
>
> When sending a task launch using the 1.0.x protos and the legacy (non-http) 
> API, tasks with a healthcheck defined are rejected (TASK_ERROR) because the 
> 'type' field is not set.
> This field is marked optional in the proto and is not available before 1.1.0, 
> so it should not be required in order to keep the mesos v1 api compatibility 
> promise.
> For backwards compatibility temporarily allow the use case when command 
> health check is set without a type.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to