You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Yan Xu (JIRA)" <ji...@apache.org> on 2017/10/09 21:56:00 UTC

[jira] [Updated] (MESOS-8062) Master sends messages to the agent before it reregisters

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

Yan Xu updated MESOS-8062:
--------------------------
    Component/s: master

> Master sends messages to the agent before it reregisters
> --------------------------------------------------------
>
>                 Key: MESOS-8062
>                 URL: https://issues.apache.org/jira/browse/MESOS-8062
>             Project: Mesos
>          Issue Type: Bug
>          Components: master
>            Reporter: Yan Xu
>            Priority: Minor
>
> In a few instances the master sends messages to the agent regardless of whether it is active and these messages ends up being dropped by the agent with a warning:
> https://github.com/apache/mesos/blob/d79dd983e484bfe5690d34b53716e2c97f1d288e/src/master/master.cpp#L7173
> https://github.com/apache/mesos/blob/d79dd983e484bfe5690d34b53716e2c97f1d288e/src/master/master.cpp#L8479
> It can happen if the agent restarts but the message arrives before the agent is reregistered. The master could have checked {{Slave.active}} and not send the message. We should prune the warnings from expected cases to reduce the noise in the logs.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)