You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Vinod Kone (JIRA)" <ji...@apache.org> on 2013/08/23 03:23:51 UTC
[jira] [Commented] (MESOS-659) The Master incorrectly sends a
"Framework failed over" message when the scheduler driver retries an
initial failover re-registration.
[ https://issues.apache.org/jira/browse/MESOS-659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13748182#comment-13748182 ]
Vinod Kone commented on MESOS-659:
----------------------------------
Can you close this as duplicate of https://issues.apache.org/jira/browse/MESOS-488?
> The Master incorrectly sends a "Framework failed over" message when the scheduler driver retries an initial failover re-registration.
> -------------------------------------------------------------------------------------------------------------------------------------
>
> Key: MESOS-659
> URL: https://issues.apache.org/jira/browse/MESOS-659
> Project: Mesos
> Issue Type: Bug
> Reporter: Benjamin Mahler
> Assignee: Benjamin Mahler
> Fix For: 0.14.0
>
>
> This bug can cause unnecessary additional failovers, if say, the master is delayed processing a re-registration attempt from a scheduler.
> // Replace the scheduler for a framework with a new process ID, in the
> // event of a scheduler failover.
> void Master::failoverFramework(Framework* framework, const UPID& newPid)
> {
> const UPID& oldPid = framework->pid;
> /** NEED TO GUARD AGAINST newPid == oldPid FOR RETRIES! */
> {
> FrameworkErrorMessage message;
> message.set_message("Framework failed over");
> send(oldPid, message);
> }
> ...
> }
> Sending the FrameworkErrorMessage here always is incorrect, we should not be sending it when the scheduler driver is simply re-trying the initial failover re-registration.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira