You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Robert Joseph Evans (JIRA)" <ji...@apache.org> on 2014/02/25 19:18:24 UTC

[jira] [Created] (STORM-244) DRPC timeout can return null instead of throwing an exception

Robert Joseph Evans created STORM-244:
-----------------------------------------

             Summary: DRPC timeout can return null instead of throwing an exception
                 Key: STORM-244
                 URL: https://issues.apache.org/jira/browse/STORM-244
             Project: Apache Storm (Incubating)
          Issue Type: Bug
            Reporter: Robert Joseph Evans


In DPRC there is a race condition when the cleanup method is called between releasing the sem, cleaning up the atoms and the blocked thread fetching the result.  It looks like it is possible on a timeout that the sem will be released but by the time the thread blocked on the sem actually wakes up the result may have been removed, causing a null to be returned instead of an exception being thrown.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)