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 <[email protected]>
---
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 <[email protected]>
Gerrit-Reviewer: Eli Mesika <[email protected]>
Gerrit-Reviewer: Michael Kublin <[email protected]>
Gerrit-Reviewer: Roy Golan <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to