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

Refactor validators in Master.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.22.0
    • None
    • None
    • Twitter Mesos Q1 Sprint 1, Twitter Mesos Q1 Sprint 2
    • 3

    Description

      There are several motivation for this. We are in the process of adding dynamic reservations and persistent volumes support in master. To do that, master needs to validate relevant operations from the framework (See Offer::Operation in mesos.proto). The existing validator style in master is hard to extend, compose and re-use.

      Another motivation for this is for unit testing (MESOS-1064). Right now, we write integration tests for those validators which is unfortunate.

      Attachments

        Issue Links

          Activity

            People

              jieyu Jie Yu
              jieyu Jie Yu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: