[ https://issues.apache.org/jira/browse/MESOS-3069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14658705#comment-14658705 ]
Joseph Wu commented on MESOS-3069: ---------------------------------- Review: https://reviews.apache.org/r/37052/ > Registry operations do not exist for manipulating maintanence schedules > ----------------------------------------------------------------------- > > Key: MESOS-3069 > URL: https://issues.apache.org/jira/browse/MESOS-3069 > Project: Mesos > Issue Type: Task > Components: master, replicated log > Reporter: Joseph Wu > Assignee: Joseph Wu > Labels: mesosphere > > In order to modify the maintenance schedule in the replicated registry, we > will need Operations (src/master/registrar.hpp). > The operations will likely correspond to the HTTP API: > * UpdateMaintenance: Given a blob representing a maintenance schedule, write > the blob to the registry. Possibly perform some verification on the blob. > * UpdateSlaveMaintenanceStatus: Given a set of machines and a status > (action), change the machiness' status in the maintenance schedule. > Possible test(s): > * UpdateMaintenance: > ** Add a schedule with 1 slave, 2+ slaves, and 0 slaves. > ** Add multiple schedules (different intervals). > ** Delete schedules (empty schedule). > * UpdateSlaveMaintenanceStatus: > ** Add schedule. > ** Change a slave's status. > ** Change a slave's status, given a slave that is not in the schedule (slave > should be added to the schedule). -- This message was sent by Atlassian JIRA (v6.3.4#6332)