Change in ovirt-engine[master]: core: log flooding if db is down (#854598)

yzaslavs at redhat.com yzaslavs at redhat.com
Thu Sep 13 07:35:07 UTC 2012


Yair Zaslavsky has submitted this change and it was merged.

Change subject: core: log flooding if db is down (#854598)
......................................................................


core: log flooding if db is down (#854598)

The following patch relaxes log flooding in case
postgresql DB service is down/inaccessible when
the engine service is started the following way:
a. Fixes the call to sleep between two subsequent calls to
checkDbConnection
b. Increases the interval (I see no point to try and probe
every 1 second).

https://bugzilla.redhat.com/854598

Change-Id: I05680581ff14ac916e4d9d559476dfb4683ed231
Signed-off-by: Yair Zaslavsky <yzaslavs at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/Backend.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dal/dbbroker/DbFacadeLocator.java
2 files changed, 5 insertions(+), 4 deletions(-)

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


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I05680581ff14ac916e4d9d559476dfb4683ed231
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yair Zaslavsky <yzaslavs at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Michael Kublin <mkublin 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