Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-2699

Failed ping on startup can leave socket dirty

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 5.3.0.Final
    • 5.2.0.Beta6
    • Remote Protocols
    • None

    Description

      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

      Attachments

        Activity

          People

            rh-ee-galder Galder ZamarreƱo
            rvansa1@redhat.com Radim Vansa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: