[ 
https://issues.apache.org/jira/browse/TINKERPOP-2328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17009053#comment-17009053
 ] 

Dzmitry L commented on TINKERPOP-2328:
--------------------------------------

It may happend due to issues on a network or whatever. So if I have more then 1 
websocket connection (20 in paticular), I'd like to check them all to know 
exactly. Because it requires some time to recover connections while new 
"SubmitAsync" are keep coming and number of "ServerUnavailableException" is 
growing in a log.

> Do not close all connections if just one has became closed
> ----------------------------------------------------------
>
>                 Key: TINKERPOP-2328
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2328
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: dotnet
>    Affects Versions: 3.4.4
>            Reporter: Dzmitry L
>            Priority: Major
>
> Current implementation of "ConnectionPool" closes all available connections 
> if just one has became closed (is not opened) 
> [https://github.com/apache/tinkerpop/blob/0b9eb170c93dd114f012cb63bfbd1c5a240e58f4/gremlin-dotnet/src/Gremlin.Net/Driver/ConnectionPool.cs#L154]
> what leads to "ServerUnavailableException"
> We could leave all remaining connections.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to