Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-5271

Client may hang if the server crashes due to a java.lang.Error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.1.3.1, 10.2.2.0, 10.3.3.0, 10.4.2.0, 10.5.3.0, 10.6.2.1, 10.7.1.1, 10.8.1.2, 10.9.1.0
    • 10.8.2.2, 10.9.1.0
    • Network Server
    • None

    Description

      When certain types of errors are raised while the network server is processing a client request, the server is left in a semi-degraded state. The problem this issue is concerned with, is that the client socket is kept open even though the server in a kind of degraded state (server JVM still alive). This causes the client to hang, until the server JVM is killed, in a read-call on the socket.

      I'm able to reproduce this with an OOME being raised on the server.

      In my opinion, hanging when there is no chance of progression is bad behavior. Furthermore, it causes trouble for automated testing.

      Attachments

        Activity

          People

            kristwaa Kristian Waagan
            kristwaa Kristian Waagan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: