Repeated calls to Netty IPC service fail
----------------------------------------
Key: AVRO-708
URL: https://issues.apache.org/jira/browse/AVRO-708
Project: Avro
Issue Type: Bug
Components: java
Affects Versions: 1.5.0
Reporter: Stephen Gargan
Priority: Minor
Fix For: 1.5.0
Attachments: netty-test.patch
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.