Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.14.0
Description
ConnectionManagerImpl forceCreateConnection does:
private PooledConnection forceCreateConnection(ServerLocation serverLocation) throws ServerRefusedConnectionException, ServerOperationException { connectionAccounting.create(); try { return createPooledConnection(serverLocation); } catch (GemFireSecurityException e) { throw new ServerOperationException(e); } }
The call to connectionAccounting.create() increments the count. If createPooledConnection is unsuccessful, the count is not decremented. This causes the client to think there are more connections than there actually are.