Andrei Sekretenko created MESOS-9747:
----------------------------------------

             Summary: Make behaviour of re-subscription consistent with 
UPDATE_FRAMEWORK.
                 Key: MESOS-9747
                 URL: https://issues.apache.org/jira/browse/MESOS-9747
             Project: Mesos
          Issue Type: Improvement
            Reporter: Andrei Sekretenko


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to