Would it be better to move the connectionCount book-keeping inside this "if" statement? Then the connectionCount wouldn't be off by one for a brief period. Otherwise some other thread might decide to create a connection and we'd be over the maxConnections limit if we take the "else" branch here.
[ Full content available at: https://github.com/apache/geode/pull/3304 ] This message was relayed via gitbox.apache.org for [email protected]
