You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Yan Xu (JIRA)" <ji...@apache.org> on 2017/10/26 22:36:00 UTC

[jira] [Created] (MESOS-8138) Master can fail to detect HTTP framework disconnection if it disconnects very fast

Yan Xu created MESOS-8138:
-----------------------------

             Summary: Master can fail to detect HTTP framework disconnection if it disconnects very fast
                 Key: MESOS-8138
                 URL: https://issues.apache.org/jira/browse/MESOS-8138
             Project: Mesos
          Issue Type: Bug
          Components: HTTP API, master
            Reporter: Yan Xu


What we've observed is that if the framework disconnects before the master actor processes the request, the master would [set up an exited callback|https://github.com/apache/mesos/blob/f26ffcee0a359a644968feca1ec91243401f589a/src/master/master.cpp#L8179] that never gets triggered.

It looks like it's because when the socket closes and libprocess terminates the HttpProxy for this socket, [the pipe reader for this proxy is not set|https://github.com/apache/mesos/blob/f599839bb854c7aff3d610e49f7e5465d7fe9341/3rdparty/libprocess/src/process.cpp#L1515-L1518]. 

Later when the master [sets up the callback|https://github.com/apache/mesos/blob/f26ffcee0a359a644968feca1ec91243401f589a/src/master/master.cpp#L8179], it would be a noop in this regard.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)