Uploaded image for project: 'Agroal'
  1. Agroal
  2. AG-194

Poolless : activeCount not decreased if SQLExcption when createConnection

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.17, 2.1
    • None
    • None
    • None
    • False
    • None
    • False
    • Hide

      This can be reproduced if the database is down longer than the healthcheck * maxSize.

      Show
      This can be reproduced if the database is down longer than the healthcheck * maxSize.

    Description

      If a SQLException is thrown when creating a connection in handlerFromSharedCache, the counter activeCount is not decreased.

      This behavior courses the healthcheck to increase activeCount to maxSize without adding connections to allConnections. 

      Attachments

        Activity

          People

            lbarreiro-1 Luis Barreiro
            jacobfrolund Jacob Frølund (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: