We interact with the maintenance API frequently to orchestrate gracefully draining agents of tasks without impacting service availability.
Occasionally we seem to trigger a fatal error in Mesos when interacting with the api. This happens relatively frequently, and impacts us when downstream frameworks (marathon) react badly to leader elections.
Here is the log line that we see when the master dies:
It's quite possibly we're using the maintenance API in the wrong way. We're happy to provide any other logs you need - please let me know what would be useful for debugging.