[ https://issues.apache.org/jira/browse/MESOS-3169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14732225#comment-14732225 ]
Guangya Liu commented on MESOS-3169: ------------------------------------ [~jvanremoortere] I think that the fix should be add a checking when update framework to make sure {code}from == framework->pid){code}. otherwise, send out "FrameworkErrorMessage", comments? Thanks. > FrameworkInfo should only be updated if the re-registration is valid > -------------------------------------------------------------------- > > Key: MESOS-3169 > URL: https://issues.apache.org/jira/browse/MESOS-3169 > Project: Mesos > Issue Type: Bug > Components: master > Affects Versions: 0.23.0 > Reporter: Joris Van Remoortere > Assignee: Guangya Liu > Labels: framework, master, mesosphere, tech-debt > > See Ben Mahler's comment in https://reviews.apache.org/r/32961/ > FrameworkInfo should not be updated if the re-registration is invalid. This > can happen in a few cases under the branching logic, so this requires some > refactoring. > Notice that a {code}FrameworkErrorMessage{code} can be generated both inside > {code}else if (from != framework->pid){code} as well as from inside > {code}failoverFramework(framework, from);{code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)