divijvaidya opened a new pull request #1309: URL: https://github.com/apache/tinkerpop/pull/1309
https://issues.apache.org/jira/browse/TINKERPOP-2369 With this change, the following behaviour are modified: 1. If server closes a `Channel`, the client would detect it and replace the `Connection`. Prior to this change, the client would do nothing on server initiated `Channel` close (applicable for cases when there were no active requests on the channel). This would cause the load balancer to allocate requests to an already closed Connection. 2. Do not throw a NPE when server sends a response for a request which is not registered with the client. Ignore it silently. 3. Ensure that replacement of a `Connection` is done only once. Prior to this change, for each failure of request using the `Connection`, a new connection was being created. **Testing** Added tests which fail before the fixes and then succeed after the changes. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
