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)

Reply via email to