You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Greg Mann (JIRA)" <ji...@apache.org> on 2019/07/03 17:13:00 UTC
[jira] [Assigned] (MESOS-9816) Add draining state information to
master event stream and state endpoints
[ https://issues.apache.org/jira/browse/MESOS-9816?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Greg Mann reassigned MESOS-9816:
--------------------------------
Assignee: Joseph Wu
> 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
> Assignee: Joseph Wu
> Priority: Major
> Labels: foundations, mesosphere
>
> 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)