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

Make behaviour of re-subscription consistent with UPDATE_FRAMEWORK.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      Currently the fields FrameworkInfo.user and FrameworkInfo.checkpointing are silently ignored on re-subscription even if the framework provides new values for them.

      This behaviour is:

      • problematic for debugging the frameworks
      • not consistent with the new UPDATE_FRAMEWORK call which fails on attempt to change one of these values

      Ideally, the SUBSCRIBE call attempting to change these fields should fail. However, this might break some existing frameworks.

      One of the approaches to fix this (suggested by bmahler@) would be to deprecate subscribing with a FrameworkInfo::Subscribe and use FrameworkInfo::UpdateFramework for the SUBSCRIBE call - this also solves the problem of having two different messages with identical definition and semantics.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              asekretenko Andrei Sekretenko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: