Yair Zaslavsky has submitted this change and it was merged. Change subject: core: Clean "only in db" async tasks ......................................................................
core: Clean "only in db" async tasks When system restarts, storagePoolUp event is sent per each SPM that becomes up. We query the SPM and get its tasks. If we had tasks in DB, that did not exist in SPM, we will remove them from DB. This is an alternative to previous versions of this patch, in which I introduced zombie treatment for these tasks. Change-Id: Ie13ae21eaadb1bb621a7fc8ad471e60387a3699b Signed-off-by: Yair Zaslavsky <yzasl...@redhat.com> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AsyncTaskManager.java 1 file changed, 35 insertions(+), 4 deletions(-) Approvals: Yair Zaslavsky: Verified; Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/12055 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ie13ae21eaadb1bb621a7fc8ad471e60387a3699b Gerrit-PatchSet: 8 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Yair Zaslavsky <yzasl...@redhat.com> Gerrit-Reviewer: Eli Mesika <emes...@redhat.com> Gerrit-Reviewer: Michael Kublin <mkub...@redhat.com> Gerrit-Reviewer: Yair Zaslavsky <yzasl...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches