Jie Yu created MESOS-3941:
-----------------------------

             Summary: Using 'async' to invoke blocking functions will block 
work threads.
                 Key: MESOS-3941
                 URL: https://issues.apache.org/jira/browse/MESOS-3941
             Project: Mesos
          Issue Type: Bug
            Reporter: Jie Yu


Saw a few occurrences in the code base. For instance:
https://github.com/apache/mesos/blob/master/src/slave/containerizer/fetcher.cpp#L382

The current implementation of 'async' will create a libprocess process. That 
means if the function is blocking, a worker thread will be blocked. If we have 
too many such instances, we might end up deadlocking.



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

Reply via email to