Change in ovirt-engine[master]: engine : Add session info to jobs table

mperina at redhat.com mperina at redhat.com
Fri Apr 22 07:38:49 UTC 2016


Martin Peřina has submitted this change and it was merged.

Change subject: engine : Add session info to jobs table
......................................................................


engine : Add session info to jobs table

Engine may kill session for long running
commands before the command completes.

Add engine session id to job table so
jobs can be tracked by session.

If a session has jobs running it should
not be purged from backend.

Change-Id: Icc997e7a58fb5a42cf7eb990e01a06153bc97bd4
Bug-Url: https://bugzilla.redhat.com/1148514
Signed-off-by: Ravi Nori <rnori at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/aaa/SSOSessionUtils.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/job/ExecutionHandler.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/job/Job.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/JobDao.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/JobDaoImpl.java
M backend/manager/modules/dal/src/test/java/org/ovirt/engine/core/dao/JobDaoTest.java
M backend/manager/modules/dal/src/test/resources/fixtures.xml
M packaging/dbscripts/job_sp.sql
A packaging/dbscripts/upgrade/04_00_0540_add_engine_session_seq_id_to_jobs.sql
9 files changed, 96 insertions(+), 5 deletions(-)

Approvals:
  Martin Peřina: Verified; Looks good to me, approved
  Jenkins CI: Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/55424
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Icc997e7a58fb5a42cf7eb990e01a06153bc97bd4
Gerrit-PatchSet: 16
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ravi Nori <rnori at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Ravi Nori <rnori at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list