Mike Kolesnik has uploaded a new change for review.

Change subject: engine: Reduce flood of polling attempts/logs
......................................................................

engine: Reduce flood of polling attempts/logs

When SetupNetworksCommand was run and the host didn't lose connectivity
with the engine, we would poll it relentlessly.
This would cause a log flood on both the host and the engine, and also
generates needless traffic over the network.

Added a 0.5 second cooldown period betweeb polling attempts, unless the
polling took more than that time (which probably was caused due to lost
connectivity).
Also reduced the verbosity of the logs on the engine side.

Change-Id: I324e326a6ea8ef92195dd22218bc619a49fe574a
Signed-off-by: Mike Kolesnik <[email protected]>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/SetupNetworksCommand.java
M 
backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/vdsbroker/PollVDSCommand.java
2 files changed, 10 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/57/5357/1
--
To view, visit http://gerrit.ovirt.org/5357
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I324e326a6ea8ef92195dd22218bc619a49fe574a
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Mike Kolesnik <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to