On 10/21/2008 02:13 PM, Morten Grouleff is rumored to have said: > When doing concurrent ingests we have experienced the occasional > ingest-error. Not that many on Linux systems. but quite a few on Windows > systems. We did a bit of debugging and discovered the following > temporary file naming collision issue, which is indeed easy to trigger > on Windows, as the resolution of System.currentTimeMillis() is 16ms. The > fix is to use the thread-safe File.createTempFile() function. > > Proposed patch attached.
Morten, Thanks for the report & thanks even more for submitting a patch! I've committed the fix to both the 2.2.4-release and 3.1-release branches. I also created an issue in JIRA (https://fedora-commons.org/jira/browse/FCREPO-374) for this if there needs to be any followup. Eddie ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Fedora-commons-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers
