[
https://issues.apache.org/jira/browse/MESOS-9965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16928979#comment-16928979
]
Greg Mann edited comment on MESOS-9965 at 9/13/19 3:03 AM:
-----------------------------------------------------------
master:
{noformat}
commit 8e1a51207304589a6521cff3540e0705fe1533ff
Author: Greg Mann <[email protected]>
Date: Thu Sep 12 16:33:20 2019 -0700
Fixed a bug for non-partition-aware schedulers.
Previously, the agent would send task status updates with the state
TASK_GONE_BY_OPERATOR to all schedulers when an agent was drained
with the `mark_gone` parameter set to `true`.
This patch updates this code to ensure that TASK_GONE_BY_OPERATOR
is only sent to partition-aware schedulers.
Review: https://reviews.apache.org/r/71480/
{noformat}
was (Author: greggomann):
{noformat}
commit 8e1a51207304589a6521cff3540e0705fe1533ff
Author: Greg Mann <[email protected]>
Date: Thu Sep 12 16:33:20 2019 -0700
Fixed a bug for non-partition-aware schedulers.
Previously, the agent would send task status updates with the state
TASK_GONE_BY_OPERATOR to all schedulers when an agent was drained
with the `mark_gone` parameter set to `true`.
This patch updates this code to ensure that TASK_GONE_BY_OPERATOR
is only sent to partition-aware schedulers.
Review: https://reviews.apache.org/r/71480/
{noformat}
> agent should not send `TASK_GONE_BY_OPERATOR` if the framework is not
> partition aware.
> --------------------------------------------------------------------------------------
>
> Key: MESOS-9965
> URL: https://issues.apache.org/jira/browse/MESOS-9965
> Project: Mesos
> Issue Type: Bug
> Components: agent
> Reporter: Gilbert Song
> Assignee: Greg Mann
> Priority: Major
> Labels: foundations
> Fix For: 1.10, 1.9.1
>
>
> The Mesos agent should not send `TASK_GONE_BY_OPERATOR` if the framework is
> not partition-aware. We should distinguish the framework capability and send
> different updates to legacy frameworks.
> The issue is exposed from here:
> https://github.com/apache/mesos/blob/f0be23765531b05661ed7f1b124faf96744aa80b/src/slave/slave.cpp#L5803
> An example to follow:
> https://github.com/apache/mesos/blob/f0be23765531b05661ed7f1b124faf96744aa80b/src/master/master.cpp#L9921
--
This message was sent by Atlassian Jira
(v8.3.2#803003)