GitHub user spmallette opened a pull request:

    https://github.com/apache/incubator-tinkerpop/pull/235

    TINKERPOP-1172 Fixed bug with driver connecting to an initially dead server.

    https://issues.apache.org/jira/browse/TINKERPOP-1172
    
    The `ConnectionPool` wasn't getting initialized properly when the host was 
dead which then lead to a null pointer exception when trying to reconnect.  
Also fixed the possibility of a connection leak if the pool was partially 
initialized but the host died in the middle of that. Those partial connections 
were never properly closed.
    
    I performed multiple successful runs of `mvn clean install && mvn verify 
-pl gremlin-server -DskipIntegrationTests=false`.
    
    VOTE +1

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apache/incubator-tinkerpop TINKERPOP-1172

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-tinkerpop/pull/235.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #235
    
----
commit 37f30339cba07d084ed66a33f6f6e05936d18b2a
Author: Stephen Mallette <sp...@genoprime.com>
Date:   2016-02-22T21:01:44Z

    Fixed bug with driver connecting to an initially dead server.
    
    The ConnectionPool wasn't getting initialized properly when the host was 
dead which then lead to a null pointer exception when trying to reconnect.  
Also fixed the possibiilty of a connection leak if the pool was partially 
initialized but the host died in the middle of that. Those partial connections 
were never properly closed.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to