You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Derek Dagit (JIRA)" <ji...@apache.org> on 2015/03/30 20:59:52 UTC

[jira] [Created] (STORM-737) Workers may try to send to closed connections

Derek Dagit created STORM-737:
---------------------------------

             Summary: Workers may try to send to closed connections
                 Key: STORM-737
                 URL: https://issues.apache.org/jira/browse/STORM-737
             Project: Apache Storm
          Issue Type: Bug
    Affects Versions: 0.9.2-incubating
            Reporter: Derek Dagit


There is a race condition in the worker code that can allow for a send() to be called on a closed connection.

[Discussion|https://github.com/apache/storm/pull/349#issuecomment-87778672]

The assignment mapping from task -> node+port needs to be read and used in the read lock when sending, so that an accurate mapping is used that does not include any connections that are closed.



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