Project: mesos
Issue MESOS-5294: Status updates after a health check are incomplete or invalid
With command health checks enabled via marathon, mesos-dns will resolve the task correctly until the task is reported as "healthy". At that point, mesos-dns stops resolving the task correctly. -Digging through src/docker/executor.cpp, I found that in the {{taskHealthUpdated()}} function is attempting to copy the taskID to the new status instance with- {code}status.mutable_task_id()->CopyFrom(taskID);{code} -but other instances of status updates have a similar line- {code}status.mutable_task_id()->CopyFrom(taskID.get());{code} -My assumption is that this difference is causing the status update after a health check to not have a proper taskID, which in turn is causing an incorrect state.json output.- -I'll try to get a patch together soon.- UPDATE: None of the above assumption are correct. Something else is causing the issue.
Story points: 1