Statements in the HarvestDatabase are often not being closed after use

Description

When running the TEST11B with the Derby that stresses the admin DB (a.k.a archive DB), we found that after moving the connectionpool system used by the harvestDatabase, ressources are not being released, if we do not closes the preparedStatents after use.

It might not be an issue with PostgreSQL or MySQL, but it certainly is with Derby. (See bug ). Some of the problems we have experienced with Derby could be related to that.

Attachments

3

Checklist

Activity

Show:

SrNovember 18, 2011 at 3:06 PM
Edited

runtimeinfo-data-p8168.txt contains a list of open statements in the derby database (harvestDatabase) used with NAS r2184. (after fixing this bug).
runtimeinfo-data-p8169.txt contains a list of open statements in the derby database (adminDatabase) used with NAS r2184. (after fixing this bug).

SrNovember 18, 2011 at 2:59 PM

Fixed in r2184

SrNovember 18, 2011 at 11:27 AM

Run on the 3.16 branch we get 43 such warnings.

SrNovember 17, 2011 at 4:57 PM

44 warnings about PreparedStatements not being closed in src/

Fixed

Details

Assignee

Reporter

Organization

SB/KB

Inspector (migrated)

External reference (migrated)

Accuracy of estimate

Confident

Original estimate

Time tracking

3h logged

Fix versions

Affects versions

Priority

Checklist

Created November 17, 2011 at 4:46 PM
Updated November 22, 2011 at 3:02 PM
Resolved November 22, 2011 at 3:02 PM