[ 
https://issues.apache.org/jira/browse/STORM-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13924001#comment-13924001
 ] 

ASF GitHub Bot commented on STORM-63:
-------------------------------------

Github user xiaokang commented on a diff in the pull request:

    https://github.com/apache/incubator-storm/pull/33#discussion_r10388051
  
    --- Diff: storm-core/src/clj/backtype/storm/daemon/drpc.clj ---
    @@ -59,6 +63,8 @@
                                 (when-let [sem (@id->sem id)]
                                   (swap! id->result assoc id 
(DRPCExecutionException. "Request timed out"))
                                   (.release sem))
    +                              (.remove (acquire-queue request-queues 
(@id->function id)) (@id->request id))
    --- End diff --
    
    HI @revans2, it's really a mistake to put the remove and log code outside 
of when-let block. I'll fix it.


> timeout request stay in queue of drpc server
> --------------------------------------------
>
>                 Key: STORM-63
>                 URL: https://issues.apache.org/jira/browse/STORM-63
>             Project: Apache Storm (Incubating)
>          Issue Type: Improvement
>            Reporter: James Xu
>
> https://github.com/nathanmarz/storm/issues/430
> When a drpc request timeout, it is not removed from the queue of drpc server. 
> This will cause memory leak.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to