Alexander Rukletsov created MESOS-8942:
------------------------------------------
Summary: Master streaming API does not send (health) check updates
for tasks.
Key: MESOS-8942
URL: https://issues.apache.org/jira/browse/MESOS-8942
Project: Mesos
Issue Type: Task
Components: HTTP API
Affects Versions: 1.6.0, 1.5.0, 1.4.1
Reporter: Alexander Rukletsov
Assignee: Alexander Rukletsov
Currently, Master API subscribers get task status updates when task state
changes (the actual logic is [slightly more
complex|https://github.com/apache/mesos/blob/d7d7cfbc3e5609fc9a4e8de8203a6ecb11afeac7/src/master/master.cpp#L10794-L10841]).
We use task status updates to deliver health and check information to
schedulers, in which case task state does not change. Hence these updates are
filtered out and the subscribers do not get any task health updates.
Here is a test that confirms the described behaviour:
https://gist.github.com/rukletsov/c079d95479fb134d137ea3ae8b7ae874
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)