divijvaidya opened a new pull request #1360:
URL: https://github.com/apache/tinkerpop/pull/1360


   https://issues.apache.org/jira/browse/TINKERPOP-2445
   
   ## Changes
   1. Create connections in a connection pool simultaneously instead of 
serially.
   1. Create connection pools simultaneously for multiple host endpoints 
instead of serially. 
   1. Add a new exception `NoHostAvailableException` for cases when no host 
with active connections is available to send the query. This replaces 
TimeoutConnection which was confusing earlier.
   1. Do not try to reconnect to host if the connection pool initialization to 
that host has failed. Attempt to reconnect requires connection but we have a 
failure in the constructor of connection pool itself. Log the exception and 
don't add host in load balancer.
   1. Added powermock dependency for mocking a new constructor inside a final 
class.
   1. Changed some String.format to concatenation as the former is adding 
latency during client initialization.
   1. Changed `ConnectionException` to extend `RuntimeException`. This 
simplifies exception handling. Prior to this we had to do multiple wrap and 
unwraps, hence, adding unnecessary values to the stack trace.


----------------------------------------------------------------
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]


Reply via email to