Change in ovirt-engine[ovirt-engine-3.6.1]: dbutils: Clean jobs when steps are cleaned

oourfali at redhat.com oourfali at redhat.com
Tue Dec 8 09:04:33 UTC 2015


Oved Ourfali has submitted this change and it was merged.

Change subject: dbutils: Clean jobs when steps are cleaned
......................................................................


dbutils: Clean jobs when steps are cleaned

This patch insures that when the taskcleaner util deletes steps, the
corresponding jobs of those steps will be cleared as well.

Prior to this fix steps were cleared by taskcleaner while the related
job remains in STARTED status and actually without any steps.
This leads to Orphan jobs stuck in the system and not cleared forever.

Change-Id: I9c2f775a93208d667b11b4d32a93277f44d11776
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1283944
Signed-off-by: emesika <emesika at redhat.com>
---
M packaging/setup/dbutils/taskcleaner.sh
M packaging/setup/dbutils/taskcleaner_sp.sql
2 files changed, 13 insertions(+), 2 deletions(-)

Approvals:
  Eli Mesika: Verified
  Oved Ourfali: Looks good to me, approved; Passed CI tests



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I9c2f775a93208d667b11b4d32a93277f44d11776
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.6.1
Gerrit-Owner: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list