Change in ovirt-engine[master]: core: Data Integrity Exception (null in column "command_id")...

mkublin at redhat.com mkublin at redhat.com
Sun Jun 24 12:14:40 UTC 2012


Michael Kublin has submitted this change and it was merged.

Change subject: core: Data Integrity Exception (null in column "command_id") (#830785)
......................................................................


core: Data Integrity Exception (null in column "command_id") (#830785)

https://bugzilla.redhat.com/830785

The following error can occurred when engine was restarted before persist task to DB.
At that case all information about a tasks is retrieved from spm host, we also can not retrieve a
command id, because of no information was saved to db, so in order to continue a new command_id will be created
instead of setting null

Change-Id: I453ac11cf920b8e0f2f7b2b80ede483f79e2fe51
Signed-off-by: Michael Kublin <mkublin at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AsyncTaskFactory.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AsyncTaskManager.java
2 files changed, 3 insertions(+), 2 deletions(-)

Approvals:
  Michael Kublin: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/5641
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I453ac11cf920b8e0f2f7b2b80ede483f79e2fe51
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Michael Kublin <mkublin 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