Bug 701830

Summary: Race condition while updating repo and cds sync schedules
Product: [Retired] Pulp Reporter: Jason Connor <jconnor>
Component: z_otherAssignee: Jason Connor <jconnor>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: mmccune, skarmark
Target Milestone: ---Keywords: Triaged
Target Release: Sprint 24   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jason Connor 2011-05-04 01:42:17 UTC
The updating of schedules for existing tasks need to occur in the task queue to prevent the task's state from changing (e.g. being run) while the scheduler is being changed.

Comment 1 Jeff Ortel 2011-05-04 15:53:24 UTC
Perhaps we should have the queue store a deep copy of enqueued tasks to prevent tasks being modified outside the task subsystem.  Further, return copies of tasks in query results returned by task subsystem.

Comment 2 Jason Connor 2011-06-09 07:36:32 UTC
New scheduler assignment pushed down into the task queue
Fix pushed in 86081ae3e912bde42c3fe8368e855b0a99ec5608

Comment 3 Jay Dobies 2011-06-10 18:50:16 UTC
Included in 0.189.

Comment 4 Preethi Thomas 2011-09-23 14:28:31 UTC
verified

[root@preethi playpen]# rpm -q pulp
pulp-0.0.233-1.fc15.noarch

[root@preethi playpen]# pulp-admin repo update --id=f14   --start=2011-09-23T11:00:00 --interval PT1H
Successfully updated repository [ f14 ]

Comment 5 Preethi Thomas 2012-02-24 20:19:12 UTC
Pulp v1.0 is released
Closed Current Release.

Comment 6 Preethi Thomas 2012-02-24 20:19:50 UTC
Pulp v1.0 is released.