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)