Yair Zaslavsky has uploaded a new change for review. Change subject: core: recover from DB restart ......................................................................
core: recover from DB restart This patch adds a validation on connection borrowing in order to cope with db connection failure. Bug-Url: https://bugzilla.redhat.com/857684 Change-Id: If375400f3e12e3e0452053dea12ac6e28bc0ff31 Signed-off-by: Yair Zaslavsky <[email protected]> --- M backend/manager/conf/standalone.xml 1 file changed, 3 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/46/8346/1 diff --git a/backend/manager/conf/standalone.xml b/backend/manager/conf/standalone.xml index 21a637a..370adcf 100644 --- a/backend/manager/conf/standalone.xml +++ b/backend/manager/conf/standalone.xml @@ -159,6 +159,9 @@ 100 </prepared-statement-cache-size> </statement> + <validation> + <check-valid-connection-sql>select 1</check-valid-connection-sql> + </validation> </datasource> <drivers> <driver name="postgresql" module="org.postgresql"> -- To view, visit http://gerrit.ovirt.org/8346 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If375400f3e12e3e0452053dea12ac6e28bc0ff31 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Yair Zaslavsky <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
