[
https://issues.apache.org/jira/browse/GEODE-8835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17266195#comment-17266195
]
ASF subversion and git services commented on GEODE-8835:
--------------------------------------------------------
Commit 564facd885faa3860efc5b136b1531e15f0c4767 in geode's branch
refs/heads/develop from Mario Kevo
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=564facd ]
GEODE-8835: Increment connection count if create successfully (#5907)
> Incrementing connections despite of creation failed
> ---------------------------------------------------
>
> Key: GEODE-8835
> URL: https://issues.apache.org/jira/browse/GEODE-8835
> Project: Geode
> Issue Type: Bug
> Components: client/server
> Reporter: Mario Kevo
> Assignee: Mario Kevo
> Priority: Major
> Labels: pull-request-available
>
> {color:#172b4d}Geode client in function OpExecutorImpl.execute() borrow
> connection from availableConnectionManager, but execute fail, then execute
> connectionManager.exchangeConnection(conn, attemptedServers), in this
> function will borrow again from availableConnectionManager again, but fail,
> then execute forceCreateConnection(excludedServers), in
> forceCreateConnection, it first add the connection
> "connectionAccounting.create()", but later create connection fail. So report
> "Unable to create a connection in the allowed time". and geode not process
> this abnormal case to dec the connectionAccounting. so it make the geode
> client think all connection in used and can't create connection again.{color}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)