Change in ovirt-engine[master]: notifier: resource leak using all available db connections

yzaslavs at redhat.com yzaslavs at redhat.com
Fri Feb 8 06:42:47 UTC 2013


Yair Zaslavsky has submitted this change and it was merged.

Change subject: notifier: resource leak using all available db connections
......................................................................


notifier: resource leak using all available db connections

Only initialize the data source once instead of each event loop,
preventing existing connections from being orphaned.

Change-Id: Ib7db8bdd66ca8f6412b1ef709c141b0b97dffbfb
Bug-Url: https://bugzilla.redhat.com/905709
Signed-off-by: Greg Padgett <gpadgett at redhat.com>
---
M backend/manager/tools/engine-notifier/engine-notifier-service/src/main/java/org/ovirt/engine/core/notifier/NotificationService.java
1 file changed, 1 insertion(+), 16 deletions(-)

Approvals:
  Yair Zaslavsky: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/11555
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib7db8bdd66ca8f6412b1ef709c141b0b97dffbfb
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Greg Padgett <gpadgett at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Greg Padgett <gpadgett at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>



More information about the Engine-commits mailing list