Greg Mann created MESOS-6033: -------------------------------- Summary: Scheduler library's reconnection logic should be teardown-aware Key: MESOS-6033 URL: https://issues.apache.org/jira/browse/MESOS-6033 Project: Mesos Issue Type: Improvement Components: HTTP API Affects Versions: 1.0.0, 1.0.1 Reporter: Greg Mann
The reconnection logic in the scheduler library currently is not aware of any explicit teardown calls sent by the scheduler to the master. This means that after a scheduler has explicitly torn itself down, it will attempt a reconnection to master under the covers, and if this succeeds the scheduler's {{connected}} callback will be invoked. This forces frameworks to implement their own teardown awareness logic in their callbacks. We should add teardown-awareness to the scheduler library's reconnection code so that framework authors don't have to worry about this. -- This message was sent by Atlassian JIRA (v6.3.4#6332)