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(a)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(a)redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Michael Kublin <mkublin(a)redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan(a)redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs(a)redhat.com>