You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Rick Kellogg (JIRA)" <ji...@apache.org> on 2015/10/09 02:55:28 UTC
[jira] [Updated] (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 ]
Rick Kellogg updated STORM-244:
-------------------------------
Component/s: storm-core
> 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
> Issue Type: Bug
> Components: storm-core
> Reporter: Robert Joseph Evans
> Assignee: Kyle Nusbaum
> 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.3.4#6332)