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(a)redhat.com>
Signed-off-by: Yair Zaslavsky <yzaslavs(a)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(a)redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini(a)redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Itamar Heim <iheim(a)redhat.com>
Gerrit-Reviewer: Michael Kublin <mkublin(a)redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs(a)redhat.com>