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

Poolless : activeCount not decreased if SQLExcption when createConnection

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major 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.

      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. 

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

                Created:
                Updated:
                Resolved: