Bug 856474 - Race condition when creating local directory
Race condition when creating local directory
Product: PulpDist
Classification: Community
Component: Pulp Plugins (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Nick Coghlan
Depends On:
  Show dependency treegraph
Reported: 2012-09-12 02:02 EDT by Nick Coghlan
Modified: 2012-09-12 02:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-09-12 02:37:17 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Nick Coghlan 2012-09-12 02:02:28 EDT
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 02:37:17 EDT
Included in 0.1.1

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