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:55:00 UTC
[jira] [Created] (MESOS-8062) Master sends messages to the agent
before it reregisters
Yan Xu created MESOS-8062:
-----------------------------
Summary: 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
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)