Change in ovirt-hosted-engine-ha[master]: use monotonic time when checking the timeouts
msivak at redhat.com
msivak at redhat.com
Fri Apr 25 08:43:10 UTC 2014
Martin Sivák has submitted this change and it was merged.
Change subject: use monotonic time when checking the timeouts
......................................................................
use monotonic time when checking the timeouts
When using the system time the timers are influenced by the time changes
done by user or ntp. So if the time is shifted backwards, the timers are
delayed which can lead to longer downtime of HA VM running the engine.
Using monotonic time makes the timers independent on the system time.
Change-Id: I9794beb4082f52d29835be5b6a182ab448c248f2
Bug-Url: https://bugzilla.redhat.com/1036683
Signed-off-by: Jiri Moskovcak <jmoskovc at redhat.com>
---
M ovirt_hosted_engine_ha/agent/hosted_engine.py
M ovirt_hosted_engine_ha/agent/state_data.py
M ovirt_hosted_engine_ha/agent/state_data_test.py
M ovirt_hosted_engine_ha/agent/state_decorators.py
M ovirt_hosted_engine_ha/agent/state_machine.py
M ovirt_hosted_engine_ha/agent/states.py
M ovirt_hosted_engine_ha/broker/listener.py
M ovirt_hosted_engine_ha/broker/storage_broker.py
M ovirt_hosted_engine_ha/client/client.py
M ovirt_hosted_engine_ha/lib/Makefile.am
M ovirt_hosted_engine_ha/lib/brokerlink.py
M ovirt_hosted_engine_ha/lib/metadata.py
A ovirt_hosted_engine_ha/lib/monotonic.py
13 files changed, 184 insertions(+), 26 deletions(-)
Approvals:
Martin Sivák: Looks good to me, approved
Jiří Moskovčák: Verified
--
To view, visit http://gerrit.ovirt.org/26384
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I9794beb4082f52d29835be5b6a182ab448c248f2
Gerrit-PatchSet: 18
Gerrit-Project: ovirt-hosted-engine-ha
Gerrit-Branch: master
Gerrit-Owner: Jiří Moskovčák <jmoskovc at redhat.com>
Gerrit-Reviewer: Greg Padgett <gpadgett at redhat.com>
Gerrit-Reviewer: Jiří Moskovčák <jmoskovc at redhat.com>
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
More information about the Engine-commits
mailing list