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

Set socket timeout for the socket used to communicate with the server in NetworkServerControl(Impl)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 10.7.1.1
    • None
    • None
    • Known fix, Newcomer

    Description

      The commands in NetworkServerControl, for instance ping, are invoked over a socket without a timeout set. This may lead to a hang if the server ends up in a confused state (I have observed this when running suites.All in parallel).

      For this situation to arise, the server socket must be open and the server fail after the connection has been established, but before the reply has been sent to the client.

      Attachments

        1. hang-stack-trace.txt
          6 kB
          Kristian Waagan

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: