Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-708

Repeated calls to Netty IPC service fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.5.0
    • 1.5.0
    • java
    • None
    • Reviewed

    Description

      It seems there is an issue with the Netty ipc mechanism. It's closing it's connection after the first invocation and all subsequent invocations fail.

      The other IPC mechanisms store the negotiated protocol in the Tranceiver and use this to indicate if the connection should be maintained. The patch adds this functionality to the Netty Server; it now passes in a tranceiver for this purpose and only closes the connection if the 'isConnected' call after the response is false.

      The patch tweaks the tests a little too, adding a test for the number of handshakes and adding a repeated calls test to catch this in the future.

      Attachments

        1. netty-test.patch
          12 kB
          Stephen Gargan
        2. AVRO-708.patch
          13 kB
          Doug Cutting

        Activity

          People

            sgargan Stephen Gargan
            sgargan Stephen Gargan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: