You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "nabarun (JIRA)" <ji...@apache.org> on 2018/05/31 18:25:00 UTC

[jira] [Created] (GEODE-5270) Close the input stream when closing connection.

nabarun created GEODE-5270:
------------------------------

             Summary: 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


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)