[
https://issues.apache.org/jira/browse/GEODE-5270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16502614#comment-16502614
]
ASF subversion and git services commented on GEODE-5270:
--------------------------------------------------------
Commit d0ec4e455ed37e778b4cdd7c203d75a0e4ac29d2 in geode's branch
refs/heads/develop from [~nabarunnag]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=d0ec4e4 ]
GEODE-5270: Shutting down the AckThread (#2017)
* Shutting down the ack thread reader
* If the ack thread reader is up and running and ends up reading the
close messages response that the stomper thread is trying to send out in the
same connection
* This may result in two threads reading from the same connection and
end up with OOME
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
> Fix For: 1.8.0
>
> Time Spent: 40m
> 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)