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

Lokesh Jain commented on RATIS-568:
-----------------------------------

[~szetszwo] Thanks for working on this! The patch looks good to me. Just one 
minor comment. We should fail the pending requests in all the cases.

> Server sliding window should fail out of order requests on close
> ----------------------------------------------------------------
>
>                 Key: RATIS-568
>                 URL: https://issues.apache.org/jira/browse/RATIS-568
>             Project: Ratis
>          Issue Type: Bug
>          Components: gRPC
>            Reporter: Lokesh Jain
>            Assignee: Tsz Wo Nicholas Sze
>            Priority: Major
>         Attachments: r568_20190524.patch
>
>
> Currently SlidingWindow does not fail the out of order requests on close. The 
> out of order requests are not processed and are therefore never removed from 
> the queue leading to memory leak. Further OrderedRequestStreamObserver should 
> be removed from the orderedStreamObservers map on error or completion.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to