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

Galder Zamarreño (JIRA) jira-events at lists.jboss.org
Thu Feb 14 09:06:56 EST 2013


     [ https://issues.jboss.org/browse/ISPN-2699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Galder Zamarreño updated ISPN-2699:
-----------------------------------

    Git Pull Request: https://github.com/infinispan/infinispan/pull/1624, https://github.com/infinispan/infinispan/pull/1662  (was: https://github.com/infinispan/infinispan/pull/1624)

    
> 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
>            Priority: Critical
>             Fix For: 5.3.0.Final
>
>
> 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