storm-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Joseph Evans (JIRA)" <j...@apache.org>
Subject [jira] [Created] (STORM-244) DRPC timeout can return null instead of throwing an exception
Date Tue, 25 Feb 2014 18:18:24 GMT
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)

Mime
View raw message