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/06/06 18:48:03 UTC
[jira] [Resolved] (STORM-244) DRPC timeout can return null instead
of throwing an exception
[ https://issues.apache.org/jira/browse/STORM-244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Joseph Evans resolved STORM-244.
---------------------------------------
Resolution: Fixed
Fix Version/s: 0.9.2-incubating
> 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
> Fix For: 0.9.2-incubating
>
>
> 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.2#6252)