mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Till Toenshoff (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-2355) MasterTest.SlavesEndpointTwoSlaves fails sometimes because the master assigns the same ID to both salves.
Date Tue, 17 Feb 2015 16:30:13 GMT

    [ https://issues.apache.org/jira/browse/MESOS-2355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14324400#comment-14324400
] 

Till Toenshoff commented on MESOS-2355:
---------------------------------------

Great results, thanks for the update [~arojas]. 

I do still wonder why that randomness (https://github.com/mesosphere/mesos/blob/master/src/slave/slave.cpp#L1040)
was done this way (allowing a {{next}} of 0 => immediate retry).

> MasterTest.SlavesEndpointTwoSlaves fails sometimes because the master assigns the same
ID to both salves.
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: MESOS-2355
>                 URL: https://issues.apache.org/jira/browse/MESOS-2355
>             Project: Mesos
>          Issue Type: Bug
>          Components: master
>            Reporter: Alexander Rojas
>            Assignee: Alexander Rojas
>
> Creating this test showed that sometimes, if the master is fast enough, two slaves will
be assigned the same (MESOS-2354). 
> While the test failure is unrelated to the code it intends to test; it does need a workaround
so the failure doesn't happen as long as MESOS-2354 is open.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message