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

ASF subversion and git services commented on GEODE-5270:
--------------------------------------------------------

Commit 0c4943189145bccdcf1f0e3e8eff7e7797b0d0bc in geode's branch 
refs/heads/develop from [~nabarunnag]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=0c49431 ]

GEODE-5270: Closing the connection. (#2008)

* Shutting down the ackThreadReader on stop processing.
        * closing the input stream on closing the connection by stomper thread.

Co-authored-by: bijukunjummen <[email protected]>

> Close the input stream when closing connection.
> -----------------------------------------------
>
>                 Key: GEODE-5270
>                 URL: https://issues.apache.org/jira/browse/GEODE-5270
>             Project: Geode
>          Issue Type: Bug
>          Components: wan
>            Reporter: nabarun
>            Assignee: nabarun
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Issue: If the gateway stomper thread is activated while a dispatcher 
> activates a ackReadThread, they both may end up reading the on the same 
> connection, resulting in reading wrong header and causing out of memory 
> issues by allocating wrong memory.
> Fix:
> Close the input streams before closing the connection and also shutdown any 
> AckThreadReaders operating on the connection.



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

Reply via email to