[infinispan-issues] [JBoss JIRA] (ISPN-2699) Failed ping on startup can leave socket dirty

Radim Vansa (JIRA) jira-events at lists.jboss.org
Tue Jan 8 12:10:08 EST 2013


Radim Vansa created ISPN-2699:
---------------------------------

             Summary: Failed ping on startup can leave socket dirty
                 Key: ISPN-2699
                 URL: https://issues.jboss.org/browse/ISPN-2699
             Project: Infinispan
          Issue Type: Bug
          Components: Remote protocols
    Affects Versions: 5.2.0.Beta6
            Reporter: Radim Vansa
            Assignee: Galder Zamarreño


Ping on startup in TransportObjectFactory.makeObject does not check the return value of ping operation, neither the tcpTransport.isValid().
Therefore, if a HotRodClientException is thrown when the response header is read from socket, the socket is left in a dirty state.
In our case this resulted in reading response to previous request (the request was written but the response was not read due to some timeout and then, when another request was executed it read the response to the first request). This caused {{ISPN004004: Invalid message id. Expected 2930 and received 212}}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the infinispan-issues mailing list