[kepler-dev] [Bug 5254] provenance database connections keep growing when using Reporting suite.

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Thu Dec 9 18:38:28 PST 2010


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5254

--- Comment #1 from Derik Barseghian <barseghian at nceas.ucsb.edu> 2010-12-09 18:38:27 PST ---
The first execution in any new window makes a new db connection. This is
because a new SQLRecordingV8 is created for each new window (with
_needReconnectDB set to true).
ProvenanceRecorder.attributeChanged() calls
ProvenanceRecorder._changeRecordingType() which constructs the new
SQLRecordingV8 with: newObj = rec.newInstance();

Should these connections instead come from a shared pool?


In r26477 I made a change to WorkflowRunManagerPanel so it hopefully doesn't
reconnect when unnecessary. 

I need to look more for other unnecessary connections, and re: proper
disconnection...

-- 
Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Kepler-dev mailing list