You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Silas Snider (JIRA)" <ji...@apache.org> on 2016/08/31 19:09:20 UTC

[jira] [Commented] (MESOS-6110) Deprecate using health checks without setting the type

    [ https://issues.apache.org/jira/browse/MESOS-6110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15453090#comment-15453090 ] 

Silas Snider commented on MESOS-6110:
-------------------------------------

This cannot be deprecated until mesos 2.0, since the support policy (http://mesos.apache.org/documentation/latest/versioning/) states in the API Compatibility section that deprecation only starts for N-1 of the api in the N.0.0 release. I therefore believe it would be inappropriate to even add a log message until then.

> Deprecate using health checks without setting the type
> ------------------------------------------------------
>
>                 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)