You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Benjamin Mahler (JIRA)" <ji...@apache.org> on 2015/05/19 21:08:59 UTC

[jira] [Created] (MESOS-2751) Stopping the scheduler driver w/o failover requires a sleep to ensure the UnregisterFrameworkMessage is delivered.

Benjamin Mahler created MESOS-2751:
--------------------------------------

             Summary: Stopping the scheduler driver w/o failover requires a sleep to ensure the UnregisterFrameworkMessage is delivered.
                 Key: MESOS-2751
                 URL: https://issues.apache.org/jira/browse/MESOS-2751
             Project: Mesos
          Issue Type: Bug
          Components: framework
            Reporter: Benjamin Mahler
            Priority: Minor


When the call to {{driver.stop(false)}} completes, the UnregisterFrameworkMessage will be sent asynchronously once the SchedulerProcess processes the dispatch event.

This requires schedulers to sleep to ensure the message is processed:
http://markmail.org/thread/yuzq5i3hkpttxc2s

We could block on a Future result from the dispatch, if safe. But this still doesn't ensure the message is flushed out of libprocess. And without acknowledgements, we don't know if the master has successfully unregistered the framework.



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