You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Joseph Wu (JIRA)" <ji...@apache.org> on 2019/06/04 21:48:00 UTC
[jira] [Created] (MESOS-9816) Add draining state information to
master event stream and state endpoints
Joseph Wu created MESOS-9816:
--------------------------------
Summary: Add draining state information to master event stream and state endpoints
Key: MESOS-9816
URL: https://issues.apache.org/jira/browse/MESOS-9816
Project: Mesos
Issue Type: Task
Components: master
Reporter: Joseph Wu
The response for {{GET_STATE}} and {{GET_AGENTS}} should include the new fields indicating deactivation or draining states:
{code}
message Response {
. . .
message GetAgents {
message Agent {
. . .
optional bool deactivated = 12;
optional DrainInfo drain_info = 13;
. . .
}
}
. . .
}
{code}
Additionally, the master's event stream should get a new event whenever these states change:
{code}
message Event {
. . .
enum Type {
. . .
AGENT_UPDATED = 10;
}
message AgentUpdated {
optional bool deactivated = 1;
optional DrainInfo drain_info = 2;
}
. . .
optional AgentUpdated agent_updated = 10;
}
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)