Bug 856474 - Race condition when creating local directory
Summary: Race condition when creating local directory
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: PulpDist
Classification: Community
Component: Pulp Plugins
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nick Coghlan
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-12 06:02 UTC by Nick Coghlan
Modified: 2012-09-12 06:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-09-12 06:37:17 UTC
Embargoed:


Attachments (Terms of Use)

Description Nick Coghlan 2012-09-12 06:02:28 UTC
Classic "check if directory does not exist -> create it" race condition in the sync tree operation when creating the local directory for a tree. Needs a try/except around the directory creation operation that checks for EEXIST.

Comment 1 Nick Coghlan 2012-09-12 06:37:17 UTC
Included in 0.1.1


Note You need to log in before you can comment on or make changes to this bug.