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 2014/06/21 01:30:26 UTC

[jira] [Resolved] (MESOS-351) Master detector should not block on zookeeper 'get' method

     [ https://issues.apache.org/jira/browse/MESOS-351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vinod Kone resolved MESOS-351.
------------------------------

       Resolution: Fixed
    Fix Version/s: 0.16.0
         Assignee: Yan Xu

This should've been fixed as part of the zookeeper refactor that was done in 0.16.0.

> Master detector should not block on zookeeper 'get' method
> ----------------------------------------------------------
>
>                 Key: MESOS-351
>                 URL: https://issues.apache.org/jira/browse/MESOS-351
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Vinod Kone
>            Assignee: Yan Xu
>             Fix For: 0.16.0
>
>
> Currently, the master detector code calls zk->get() in its detectMaster() method. Under the covers, we call zoo_aget(...., callback,....) and block till the callback is called.
> At Twitter, we encountered a situation where zk->get() got blocked because the callback was never called by the underlying zookeeper library. Even if a watch expired indicating session expired, the detector would not process it because it is blocked in detectMaster().
> I will add some data below.



--
This message was sent by Atlassian JIRA
(v6.2#6252)