Change in vdsm[master]: task: prevent tasks with the same id to be queued

danken at redhat.com danken at redhat.com
Wed May 21 16:00:50 UTC 2014


Dan Kenigsberg has submitted this change and it was merged.

Change subject: task: prevent tasks with the same id to be queued
......................................................................


task: prevent tasks with the same id to be queued

This patch prevents a task to be queued if its id is already used
by another task. Previously the task already present in the queue
would have been lost.

Change-Id: I0b9980de08d10203a75071dae9b16c9b850a91f5
Signed-off-by: Federico Simoncelli <fsimonce at redhat.com>
Reviewed-on: http://gerrit.ovirt.org/26808
Reviewed-by: Dan Kenigsberg <danken at redhat.com>
---
M vdsm/storage/task.py
M vdsm/storage/taskManager.py
2 files changed, 12 insertions(+), 1 deletion(-)

Approvals:
  Federico Simoncelli: Verified
  Dan Kenigsberg: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I0b9980de08d10203a75071dae9b16c9b850a91f5
Gerrit-PatchSet: 9
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Federico Simoncelli <fsimonce at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimonce at redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Saggi Mizrahi <smizrahi at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server


More information about the vdsm-patches mailing list