Change in ovirt-engine[master]: core: adding timestamp to async tasks ...
Gerrit Code Review
gerrit2 at gerrit.ovirt.org
Wed Oct 24 16:07:04 UTC 2012
Anonymous Coward has submitted this change and it was merged.
Change subject: core: adding timestamp to async tasks ...
......................................................................
core: adding timestamp to async tasks ...
adding timestamp to async tasks and compensation tables
This patch deals with two issues:
1. adds timestamp columns to both async_tasks and
business_entity_snapshot tables in order to track when an async task or
compensation entry was issued.
2. Adds a "startTime" field based on the added column
to async_tasks , and eliminates the usage of VdcActionParametersBase.startTime
Bug-Url: https://bugzilla.redhat.com/868636
Change-Id: Id7a5c609083584e4ae304a3f7af7c0e3b4f9b408
Signed-off-by: Eli Mesika <emesika at redhat.com>
Signed-off-by: Yair Zaslavsky <yzaslavs at redhat.com>
---
M backend/manager/dbscripts/async_tasks_sp.sql
A backend/manager/dbscripts/upgrade/03_01_1450_add_timestamp_to_async_tasks_and_compensation.sql
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AsyncTaskManager.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandBase.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/SPMAsyncTask.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/action/VdcActionParametersBase.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/async_tasks.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/AsyncTaskDAODbFacadeImpl.java
M backend/manager/modules/dal/src/test/java/org/ovirt/engine/core/dao/AsyncTaskDAOTest.java
M backend/manager/modules/dal/src/test/resources/fixtures.xml
10 files changed, 49 insertions(+), 27 deletions(-)
--
To view, visit http://gerrit.ovirt.org/8668
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Id7a5c609083584e4ae304a3f7af7c0e3b4f9b408
Gerrit-PatchSet: 8
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Itamar Heim <iheim at redhat.com>
Gerrit-Reviewer: Michael Kublin <mkublin at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>
More information about the Engine-commits
mailing list