Project: mesos
Issue MESOS-2081: Add safety constraints for maintenance primitives.
In order to ensure that the maintenance primitives can be used safely by operators, we want to put a few safety mechanisms in place. Some ideas from the [design doc|https://docs.google.com/a/twitter.com/document/d/16k0lVwpSGVOyxPSyXKmGC-gbNmRlisNEe4p-fAUSojk/]: # Prevent bad schedules from being constructed: schedules with more than x% overlap in slaves are rejected. # Prevent bad maintenance from proceeding unchecked: if x% of the slaves are not being unscheduled, or are not re-registering, cancel the schedule. These will likely be configurable via flags.
Story points: 8