If a gremlin-server is restarted, the client will never reconnect to it.
Start client such as
After client has performed a couple of query cycles
Wait 60 seconds so the reconnect should occur
Notice that there are no more successful queries, the client has never reconnected to server1
Notice that still there are no more successful queries
The method ConnectionPool.addConnectionIfUnderMaximum is always returning false because opened >= maxPoolSize. In this particular case opened = 10. I believe that open is trying to track the size of the List of connections but is getting out of sync. The following diff addresses this problem for this particular case