Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-3066

Replicated registry needs a representation of maintenance schedules

    XMLWordPrintableJSON

    Details

    • Target Version/s:
    • Epic Link:
    • Sprint:
      Mesosphere Sprint 15, Mesosphere Sprint 16, Mesosphere Sprint 17
    • Story Points:
      3

      Description

      In order to persist maintenance schedules across failovers of the master, the schedule information must be kept in the replicated registry.

      This means adding an additional message in the Registry protobuf in src/master/registry.proto. The status of each individual slave's maintenance will also be persisted in this way.

      message Maintenance {
        message HostStatus {
          required string hostname = 1;
      
          // True if the slave is deactivated for maintenance.
          // False if the slave is draining in preparation for maintenance.
          required bool is_down = 2;  // Or an enum
        }
      
        message Schedule {
          // The set of affected slave(s).
          repeated HostStatus hosts = 1;
      
          // Interval in which this set of slaves is expected to be down for.
          optional Unavailability interval = 2;
        }
      
        message Schedules {
          repeated Schedule schedules;
        }
      
        optional Schedules schedules = 1;
      }
      

      Note: There can be multiple SlaveID's attached to a single hostname.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kaysoky Joseph Wu
                Reporter:
                kaysoky Joseph Wu
                Shepherd:
                Benjamin Hindman
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: