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(a)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
Jenkins CI: Passed CI tests
Moti Asayag: Looks good to me, but someone else must approve
Oved Ourfali: Looks good to me, approved
--
To view, visit
https://gerrit.ovirt.org/49424
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I9c2f775a93208d667b11b4d32a93277f44d11776
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Moti Asayag <masayag(a)redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>