Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-9865

ConnectionManagerImpl forceCreateConnection to a specific server increments the count regardless whether the connection is successful

    XMLWordPrintableJSON

Details

    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.

      Attachments

        Activity

          People

            boglesby Barrett Oglesby
            boglesby Barrett Oglesby
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: