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:38:00 UTC

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

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

Yan Xu commented on MESOS-8138:
-------------------------------

/cc [~anandmazumdar] who implemented MESOS-2294.

> 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)