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

Joseph Wu commented on MESOS-6246:
----------------------------------

| https://reviews.apache.org/r/52180/ | Fix edge case of {{link}} + 
{{ExitedEvent}} |

> Libprocess links will not generate an ExitedEvent if the socket creation fails
> ------------------------------------------------------------------------------
>
>                 Key: MESOS-6246
>                 URL: https://issues.apache.org/jira/browse/MESOS-6246
>             Project: Mesos
>          Issue Type: Bug
>          Components: libprocess
>    Affects Versions: 0.27.3, 0.28.2, 1.0.1
>            Reporter: Joseph Wu
>            Assignee: Joseph Wu
>              Labels: libprocess, mesosphere
>
> Noticed this while inspecting nearby code for potential races.
> Normally, when a libprocess actor (the "linkee") links to a remote process, 
> it does the following:
> 1) Create a socket.
> 2) Connect to the remote process (asynchronous).
> 3) Check the connection succeeded.
> If (2) or (3) fail, the linkee will receive a {{ExitedEvent}}, which 
> indicates that the link broke.  In case (1) fails, there is no 
> {{ExitedEvent}}:
> https://github.com/apache/mesos/blob/7c833abbec9c9e4eb51d67f7a8e7a8d0870825f8/3rdparty/libprocess/src/process.cpp#L1558-L1562



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

Reply via email to